Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3015)

Unified Diff: chrome/test/live_sync/single_client_live_apps_sync_test.cc

Issue 7599019: Allow sync integration tests to operate on multiple datatypes: Apps, Extensions, Themes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix indents Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/live_sync/single_client_live_apps_sync_test.cc
diff --git a/chrome/test/live_sync/single_client_live_apps_sync_test.cc b/chrome/test/live_sync/single_client_live_apps_sync_test.cc
deleted file mode 100644
index ca12b53734a499f6a27fdc99bdcbba93d9e38ad3..0000000000000000000000000000000000000000
--- a/chrome/test/live_sync/single_client_live_apps_sync_test.cc
+++ /dev/null
@@ -1,56 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "base/basictypes.h"
-#include "chrome/browser/sync/profile_sync_service_harness.h"
-#include "chrome/test/live_sync/live_apps_sync_test.h"
-
-class SingleClientLiveAppsSyncTest : public LiveAppsSyncTest {
- public:
- SingleClientLiveAppsSyncTest()
- : LiveAppsSyncTest(SINGLE_CLIENT) {}
-
- virtual ~SingleClientLiveAppsSyncTest() {}
-
- private:
- DISALLOW_COPY_AND_ASSIGN(SingleClientLiveAppsSyncTest);
-};
-
-IN_PROC_BROWSER_TEST_F(SingleClientLiveAppsSyncTest,
- StartWithNoApps) {
- ASSERT_TRUE(SetupSync());
-
- ASSERT_TRUE(AllProfilesHaveSameAppsAsVerifier());
-}
-
-IN_PROC_BROWSER_TEST_F(SingleClientLiveAppsSyncTest,
- StartWithSomeApps) {
- ASSERT_TRUE(SetupClients());
-
- const int kNumApps = 5;
- for (int i = 0; i < kNumApps; ++i) {
- InstallApp(GetProfile(0), i);
- InstallApp(verifier(), i);
- }
-
- ASSERT_TRUE(SetupSync());
-
- ASSERT_TRUE(AllProfilesHaveSameAppsAsVerifier());
-}
-
-IN_PROC_BROWSER_TEST_F(SingleClientLiveAppsSyncTest,
- InstallSomeApps) {
- ASSERT_TRUE(SetupSync());
-
- const int kNumApps = 5;
- for (int i = 0; i < kNumApps; ++i) {
- InstallApp(GetProfile(0), i);
- InstallApp(verifier(), i);
- }
-
- ASSERT_TRUE(GetClient(0)->AwaitSyncCycleCompletion(
- "Waiting for app changes."));
-
- ASSERT_TRUE(AllProfilesHaveSameAppsAsVerifier());
-}

Powered by Google App Engine
This is Rietveld 408576698