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

Unified Diff: chrome/browser/sync/test/live_sync/single_client_apps_sync_test.cc

Issue 7841007: Rename browser/sync/test/live_sync directory to browser/sync/test/integration (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: "" Created 9 years, 3 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/browser/sync/test/live_sync/single_client_apps_sync_test.cc
diff --git a/chrome/browser/sync/test/live_sync/single_client_apps_sync_test.cc b/chrome/browser/sync/test/live_sync/single_client_apps_sync_test.cc
deleted file mode 100644
index 25b024af04cb6694c7770cd3d9f156e5acaa83f8..0000000000000000000000000000000000000000
--- a/chrome/browser/sync/test/live_sync/single_client_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/browser/sync/test/live_sync/apps_helper.h"
-#include "chrome/browser/sync/test/live_sync/live_sync_test.h"
-
-using apps_helper::AllProfilesHaveSameAppsAsVerifier;
-using apps_helper::InstallApp;
-
-class SingleClientAppsSyncTest : public LiveSyncTest {
- public:
- SingleClientAppsSyncTest() : LiveSyncTest(SINGLE_CLIENT) {}
-
- virtual ~SingleClientAppsSyncTest() {}
-
- private:
- DISALLOW_COPY_AND_ASSIGN(SingleClientAppsSyncTest);
-};
-
-IN_PROC_BROWSER_TEST_F(SingleClientAppsSyncTest, StartWithNoApps) {
- ASSERT_TRUE(SetupSync());
-
- ASSERT_TRUE(AllProfilesHaveSameAppsAsVerifier());
-}
-
-IN_PROC_BROWSER_TEST_F(SingleClientAppsSyncTest, 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(SingleClientAppsSyncTest, 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