chromium/chrome/browser/webid/federated_identity_identity_provider_registration_context_unittest.cc

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/webid/federated_identity_identity_provider_registration_context.h"

#include <memory>

#include "chrome/test/base/testing_profile.h"
#include "content/public/test/browser_task_environment.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
#include "url/origin.h"

class FederatedIdentityIdentityProviderRegistrationContextTest
    : public testing::Test {};

// Test the initial state of the registry.
TEST_F(FederatedIdentityIdentityProviderRegistrationContextTest,
       InitiallyEmptyRegistry) {}

// Test the state of the registry after registration.
TEST_F(FederatedIdentityIdentityProviderRegistrationContextTest, RegisterIdP) {}

// Test that registrating twice is idempotent.
TEST_F(FederatedIdentityIdentityProviderRegistrationContextTest,
       RegistrationIsIdempotent) {}

// Test that registering two IdPs preserves the order.
TEST_F(FederatedIdentityIdentityProviderRegistrationContextTest,
       RegisteringTwoIdPs) {}

// Registers and unregisters an IdP.
TEST_F(FederatedIdentityIdentityProviderRegistrationContextTest,
       Unregistering) {}

// Unregistering an IdP that wasn't registered is a no-op.
TEST_F(FederatedIdentityIdentityProviderRegistrationContextTest,
       UnregisteringWithoutRegistering) {}

// RegistersTwoIdPsUnregistersOne
TEST_F(FederatedIdentityIdentityProviderRegistrationContextTest,
       RegisteringTwoIdPsUnregistersOne) {}