chromium/chrome/browser/sync/test/integration/two_client_themes_sync_test.cc

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

#include "chrome/browser/sync/test/integration/sync_integration_test_util.h"
#include "chrome/browser/sync/test/integration/sync_test.h"
#include "chrome/browser/sync/test/integration/themes_helper.h"
#include "content/public/test/browser_test.h"

namespace {

GetCustomTheme;
GetThemeID;
UseDefaultTheme;
UseSystemTheme;
UsingCustomTheme;
UsingDefaultTheme;
UsingSystemTheme;

class TwoClientThemesSyncTest : public SyncTest {};

// Starts with default themes, then sets up sync and uses it to set all
// profiles to use a custom theme.  Does not actually install any themes, but
// instead verifies the custom theme is pending for install.
IN_PROC_BROWSER_TEST_F(TwoClientThemesSyncTest,
                       E2E_ENABLED(DefaultThenSyncCustom)) {}

// Starts with custom themes, then sets up sync and uses it to set all profiles
// to the system theme.
IN_PROC_BROWSER_TEST_F(TwoClientThemesSyncTest,
                       E2E_ENABLED(CustomThenSyncNative)) {}

// Starts with custom themes, then sets up sync and uses it to set all profiles
// to the default theme.
IN_PROC_BROWSER_TEST_F(TwoClientThemesSyncTest,
                       E2E_ENABLED(CustomThenSyncDefault)) {}

// Cycles through a set of options.
//
// Most other tests have significant coverage of model association.  This test
// is intended to test steady-state scenarios.
IN_PROC_BROWSER_TEST_F(TwoClientThemesSyncTest, E2E_ENABLED(CycleOptions)) {}

}  // namespace