chromium/chrome/browser/ui/views/passwords/manage_passwords_view_unittest.cc

// Copyright 2022 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/ui/views/passwords/manage_passwords_view.h"

#include <utility>

#include "base/memory/weak_ptr.h"
#include "chrome/browser/ui/browser_list.h"
#include "chrome/browser/ui/views/passwords/manage_passwords_details_view.h"
#include "chrome/browser/ui/views/passwords/manage_passwords_view_ids.h"
#include "chrome/browser/ui/views/passwords/password_bubble_view_test_base.h"
#include "components/password_manager/core/browser/password_form.h"
#include "components/password_manager/core/common/password_manager_constants.h"
#include "components/password_manager/core/common/password_manager_ui.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/views/interaction/element_tracker_views.h"
#include "ui/views/widget/widget.h"

Mock;
Return;
ReturnRef;

namespace {

password_manager::PasswordForm CreateTestPasswordForm(int index = 0) {}

}  // namespace

class ManagePasswordsViewTest : public PasswordBubbleViewTestBase {};

ManagePasswordsViewTest::ManagePasswordsViewTest() {}

void ManagePasswordsViewTest::CreateViewAndShow() {}

TEST_F(ManagePasswordsViewTest, HasTitle) {}

TEST_F(ManagePasswordsViewTest,
       BubbleHasDetailsLayoutInSingleCredentialDetailsMode) {}

TEST_F(ManagePasswordsViewTest, DetailsBubbleIsClosedAfterAuthExpiration) {}

TEST_F(ManagePasswordsViewTest,
       DetailsBubbleHasBackButtonIfInCredentialListMode) {}

TEST_F(ManagePasswordsViewTest,
       DetailsBubbleHasNoBackButtonIfInSingleCredentialMode) {}

TEST_F(ManagePasswordsViewTest, DetailsBubbleTitleDependsOnFormDisplayName) {}

TEST_F(ManagePasswordsViewTest,
       PasswordDetailsFromListAllowsEmptyUsernameEdit) {}

TEST_F(ManagePasswordsViewTest, DetailsOnlyBubbleDoesntAllowEmptyUsernameEdit) {}