#include "components/variations/service/google_groups_manager.h"
#include "base/feature_list.h"
#include "base/files/file_path.h"
#include "base/test/scoped_feature_list.h"
#include "base/values.h"
#include "components/prefs/scoped_user_pref_update.h"
#include "components/prefs/testing_pref_service.h"
#include "components/sync/test/test_sync_service.h"
#include "components/sync_preferences/testing_pref_service_syncable.h"
#include "components/variations/pref_names.h"
#include "components/variations/service/google_groups_manager_prefs.h"
#include "components/variations/variations_seed_processor.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
class GoogleGroupsManagerTest : public ::testing::Test { … };
TEST_F(GoogleGroupsManagerTest, NoSyncGroupsEmptyListWritten) { … }
TEST_F(GoogleGroupsManagerTest, EmptySyncGroupsEmptyListWritten) { … }
TEST_F(GoogleGroupsManagerTest, SourceSyncGroupsWrittenToEmptyTarget) { … }
TEST_F(GoogleGroupsManagerTest,
SourceSyncGroupsWrittenToNonEmptyTarget) { … }
TEST_F(GoogleGroupsManagerTest, ClearProfilePrefsNotPreviouslySet) { … }
TEST_F(GoogleGroupsManagerTest, ClearProfilePrefsClearsTargetPref) { … }
TEST_F(GoogleGroupsManagerTest, IsFeatureEnabledForProfile) { … }
TEST_F(GoogleGroupsManagerTest,
IsFeatureEnabledForProfileMultipleGroups) { … }
TEST_F(GoogleGroupsManagerTest,
IsFeatureEnabledForProfileForDisabledFeature) { … }