chromium/chrome/browser/ui/passwords/bubble_controllers/shared_passwords_notifications_bubble_controller_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/ui/passwords/bubble_controllers/shared_passwords_notifications_bubble_controller.h"

#include "base/test/metrics/histogram_tester.h"
#include "chrome/browser/password_manager/password_manager_test_util.h"
#include "chrome/browser/ui/passwords/passwords_model_delegate_mock.h"
#include "chrome/test/base/testing_profile.h"
#include "components/password_manager/core/browser/password_form.h"
#include "components/password_manager/core/browser/password_manager_metrics_util.h"
#include "components/password_manager/core/browser/password_store/test_password_store.h"
#include "content/public/test/browser_task_environment.h"
#include "content/public/test/test_renderer_host.h"
#include "content/public/test/web_contents_tester.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

Bucket;
PasswordForm;
SharedPasswordsNotificationBubbleInteractions;
Each;
Field;
Return;
ReturnRef;

namespace {

constexpr char kUrl[] =;

std::unique_ptr<PasswordForm> CreateUnnoitifiedSharedPasswordForm(
    const std::u16string& username) {}

}  // namespace

class SharedPasswordsNotificationBubbleControllerTest : public ::testing::Test {};

TEST_F(SharedPasswordsNotificationBubbleControllerTest, HasTitle) {}

TEST_F(SharedPasswordsNotificationBubbleControllerTest,
       ShouldMarkCredentialsAsNotifiedUponClickingManagePassword) {}

TEST_F(SharedPasswordsNotificationBubbleControllerTest,
       ShouldMarkCredentialsAsNotifiedUponClickingGotIt) {}

TEST_F(SharedPasswordsNotificationBubbleControllerTest,
       ShouldMarkCredentialsAsNotifiedUponClickingCloseBubble) {}

TEST_F(SharedPasswordsNotificationBubbleControllerTest,
       ShouldComputeNotificationBodyTextForSingleSharedCredential) {}

TEST_F(SharedPasswordsNotificationBubbleControllerTest,
       ShouldComputeNotificationBodyTextForMultipleSharedCredential) {}