chromium/components/user_education/common/help_bubble_factory_registry_unittest.cc

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

#include "components/user_education/common/help_bubble_factory_registry.h"

#include <memory>

#include "base/functional/callback_forward.h"
#include "base/functional/callback_helpers.h"
#include "base/memory/raw_ptr.h"
#include "base/test/mock_callback.h"
#include "components/user_education/common/help_bubble_params.h"
#include "components/user_education/test/test_help_bubble.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/interaction/element_identifier.h"
#include "ui/base/interaction/element_test_util.h"
#include "ui/base/interaction/expect_call_in_scope.h"

namespace user_education {

namespace {

// Placeholder ID and context for test elements.
DEFINE_LOCAL_ELEMENT_IDENTIFIER_VALUE();
const ui::ElementContext kTestElementContext(1U);
const ui::ElementContext kTestElementContext2(2U);

}  // namespace

class HelpBubbleFactoryRegistryTest : public testing::Test {};

TEST_F(HelpBubbleFactoryRegistryTest, ShowsBubble) {}

TEST_F(HelpBubbleFactoryRegistryTest, ShowSecondBubble) {}

TEST_F(HelpBubbleFactoryRegistryTest, DeleteBubble) {}

TEST_F(HelpBubbleFactoryRegistryTest, DeleteTwoBubbles) {}

TEST_F(HelpBubbleFactoryRegistryTest, CloseBubble) {}

TEST_F(HelpBubbleFactoryRegistryTest, DismissBubble) {}

TEST_F(HelpBubbleFactoryRegistryTest, BubbleTimeout) {}

TEST_F(HelpBubbleFactoryRegistryTest, PressButton) {}

TEST_F(HelpBubbleFactoryRegistryTest, PressButton2) {}

TEST_F(HelpBubbleFactoryRegistryTest, ToggleFocusForAccessibility) {}

TEST_F(HelpBubbleFactoryRegistryTest,
       ToggleFocusForAccessibility_WrongContext) {}

TEST_F(HelpBubbleFactoryRegistryTest, CloseTwoBubbles) {}

TEST_F(HelpBubbleFactoryRegistryTest, OpenSecondBubbleAfterClose) {}

}  // namespace user_education