#include "components/sync/service/sync_feature_status_for_migrations_recorder.h"
#include <memory>
#include "base/strings/strcat.h"
#include "base/test/metrics/histogram_tester.h"
#include "components/prefs/testing_pref_service.h"
#include "components/sync/base/data_type.h"
#include "components/sync/base/pref_names.h"
#include "components/sync/test/test_sync_service.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace syncer {
namespace {
class SyncFeatureStatusForMigrationsRecorderTest : public testing::Test { … };
TEST_F(SyncFeatureStatusForMigrationsRecorderTest, AllEnabled) { … }
TEST_F(SyncFeatureStatusForMigrationsRecorderTest, NoSyncConsent) { … }
TEST_F(SyncFeatureStatusForMigrationsRecorderTest, Initializing) { … }
TEST_F(SyncFeatureStatusForMigrationsRecorderTest, TypesDisabled) { … }
TEST_F(SyncFeatureStatusForMigrationsRecorderTest, SyncPaused) { … }
TEST_F(SyncFeatureStatusForMigrationsRecorderTest, StartupSequence) { … }
TEST_F(SyncFeatureStatusForMigrationsRecorderTest, RecordsMetricsOnStartup) { … }
}
}