#include "components/user_education/webui/whats_new_registry.h"
#include <memory>
#include "base/feature_list.h"
#include "base/test/scoped_feature_list.h"
#include "components/user_education/common/user_education_features.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/interaction/expect_call_in_scope.h"
Return;
WhatsNewEdition;
WhatsNewModule;
WhatsNewRegistry;
WhatsNewStorageService;
namespace user_education {
namespace {
BrowserCommand;
BASE_FEATURE(…);
BASE_FEATURE(…);
BASE_FEATURE(…);
BASE_FEATURE(…);
BASE_FEATURE(…);
BASE_FEATURE(…);
BASE_FEATURE(…);
BASE_FEATURE(…);
class MockWhatsNewStorageService : public whats_new::WhatsNewStorageService { … };
}
class WhatsNewRegistryTest : public testing::Test { … };
TEST_F(WhatsNewRegistryTest, CommandsAreActiveForEnabledFeatures) { … }
TEST_F(WhatsNewRegistryTest, CommandsAreActiveForEnabledModulesAndEditions) { … }
TEST_F(WhatsNewRegistryTest, FindModulesForActiveFeatures) { … }
TEST_F(WhatsNewRegistryTest, FindModulesForActiveFeaturesWithEditions) { … }
TEST_F(WhatsNewRegistryTest, FindModulesForActiveFeaturesWithUsedEdition) { … }
TEST_F(WhatsNewRegistryTest, FindModulesForRolledFeatures) { … }
TEST_F(WhatsNewRegistryTest, SetEditionUsed) { … }
TEST_F(WhatsNewRegistryTest, ClearUnregisteredModules) { … }
TEST_F(WhatsNewRegistryTest, ClearUnregisteredEditions) { … }
TEST_F(WhatsNewRegistryTest, ResetStorageService) { … }
}