#include "chrome/browser/ui/webui/whats_new/whats_new_registrar.h"
#include "base/containers/contains.h"
#include "base/test/metrics/action_suffix_reader.h"
#include "base/test/metrics/histogram_variants_reader.h"
#include "base/threading/thread_restrictions.h"
#include "components/feature_engagement/public/configuration.h"
#include "components/user_education/webui/whats_new_registry.h"
#include "components/user_education/webui/whats_new_storage_service.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
BrowserCommand;
BASE_FEATURE(…);
BASE_FEATURE(…);
void RegisterWhatsNewModulesForTests(whats_new::WhatsNewRegistry* registry) { … }
void RegisterWhatsNewEditionsForTests(whats_new::WhatsNewRegistry* registry) { … }
class MockWhatsNewStorageService : public whats_new::WhatsNewStorageService { … };
}
TEST(WhatsNewRegistrarTest, CheckModuleHistograms) { … }
TEST(WhatsNewRegistrarTest, CheckModuleActions) { … }
TEST(WhatsNewRegistrarTest, CheckEditionActions) { … }