#include "chrome/browser/ui/views/webid/account_selection_modal_view.h"
#include <string>
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/test/test_browser_dialog.h"
#include "chrome/browser/ui/views/controls/hover_button.h"
#include "chrome/browser/ui/views/webid/account_selection_view_base.h"
#include "chrome/browser/ui/views/webid/account_selection_view_test_base.h"
#include "chrome/grit/generated_resources.h"
#include "components/strings/grit/components_strings.h"
#include "content/public/browser/identity_request_dialog_controller.h"
#include "content/public/test/browser_test.h"
#include "services/network/public/cpp/shared_url_loader_factory.h"
#include "services/network/public/cpp/weak_wrapper_shared_url_loader_factory.h"
#include "services/network/test/test_url_loader_factory.h"
#include "testing/gmock/include/gmock/gmock-matchers.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/models/image_model.h"
#include "ui/views/controls/scroll_view.h"
#include "ui/views/controls/styled_label.h"
#include "ui/views/layout/box_layout.h"
class AccountSelectionModalViewTest : public DialogBrowserTest,
public AccountSelectionViewTestBase { … };
IN_PROC_BROWSER_TEST_F(AccountSelectionModalViewTest, SingleAccount) { … }
IN_PROC_BROWSER_TEST_F(AccountSelectionModalViewTest, MultipleAccounts) { … }
IN_PROC_BROWSER_TEST_F(AccountSelectionModalViewTest,
RequestPermissionAfterSingleAccount) { … }
IN_PROC_BROWSER_TEST_F(AccountSelectionModalViewTest,
RequestPermissionAfterMultipleAccounts) { … }
IN_PROC_BROWSER_TEST_F(AccountSelectionModalViewTest,
SingleAccountAfterRequestPermission) { … }
IN_PROC_BROWSER_TEST_F(AccountSelectionModalViewTest,
MultipleAccountsAfterRequestPermission) { … }
IN_PROC_BROWSER_TEST_F(AccountSelectionModalViewTest, Loading) { … }
IN_PROC_BROWSER_TEST_F(AccountSelectionModalViewTest,
VerifyingAfterSingleAccount) { … }
IN_PROC_BROWSER_TEST_F(AccountSelectionModalViewTest,
VerifyingAfterMultipleAccounts) { … }
IN_PROC_BROWSER_TEST_F(AccountSelectionModalViewTest,
VerifyingForSingleAccountFlow) { … }
IN_PROC_BROWSER_TEST_F(AccountSelectionModalViewTest,
VerifyingForMultipleAccountFlow) { … }
IN_PROC_BROWSER_TEST_F(AccountSelectionModalViewTest,
SingleAccountUseOtherAccount) { … }
IN_PROC_BROWSER_TEST_F(AccountSelectionModalViewTest,
MultipleAccountsUseOtherAccount) { … }
IN_PROC_BROWSER_TEST_F(AccountSelectionModalViewTest,
RequestPermissionNonReturningUser) { … }
IN_PROC_BROWSER_TEST_F(AccountSelectionModalViewTest,
RequestPermissionReturningUser) { … }
IN_PROC_BROWSER_TEST_F(AccountSelectionModalViewTest,
InvalidBrandIconUrlDoesNotHideBrandIcon) { … }
IN_PROC_BROWSER_TEST_F(AccountSelectionModalViewTest,
RequestPermissionOnlyIdpIconAvailable) { … }
IN_PROC_BROWSER_TEST_F(AccountSelectionModalViewTest,
RequestPermissionOnlyRpIconAvailable) { … }
IN_PROC_BROWSER_TEST_F(AccountSelectionModalViewTest,
RequestPermissionNeitherRpNorIdpIconsAvailable) { … }
IN_PROC_BROWSER_TEST_F(AccountSelectionModalViewTest,
RequestPermissionBothRpAndIdpIconsAvailable) { … }
IN_PROC_BROWSER_TEST_F(AccountSelectionModalViewTest, SingleAccountFlowBack) { … }
IN_PROC_BROWSER_TEST_F(AccountSelectionModalViewTest, MultipleAccountFlowBack) { … }