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

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

Issue 7461109: Allow sync integration tests to operate on multiple datatypes: Typed Urls (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR feedback; rebase 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_typed_urls_sync_test.cc
diff --git a/chrome/test/live_sync/single_client_live_typed_urls_sync_test.cc b/chrome/test/live_sync/single_client_live_typed_urls_sync_test.cc
deleted file mode 100644
index e57f65c406f1f02b2268039ebc4c787f3104c9eb..0000000000000000000000000000000000000000
--- a/chrome/test/live_sync/single_client_live_typed_urls_sync_test.cc
+++ /dev/null
@@ -1,32 +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/memory/scoped_vector.h"
-#include "chrome/browser/history/history_types.h"
-#include "chrome/browser/sessions/session_service.h"
-#include "chrome/browser/sync/profile_sync_service_harness.h"
-#include "chrome/test/live_sync/live_typed_urls_sync_test.h"
-
-const std::string kSanityHistoryUrl = "http://www.sanity-history.google.com";
-
-IN_PROC_BROWSER_TEST_F(SingleClientLiveTypedUrlsSyncTest, Sanity) {
- ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
- std::vector<history::URLRow> urls = GetTypedUrlsFromClient(0);
- ASSERT_EQ(0U, urls.size());
-
- GURL new_url(kSanityHistoryUrl);
- AddUrlToHistory(0, new_url);
-
- urls = GetTypedUrlsFromClient(0);
- ASSERT_EQ(1U, urls.size());
- ASSERT_EQ(new_url, urls[0].url());
- AssertAllProfilesHaveSameURLsAsVerifier();
-
- ASSERT_TRUE(GetClient(0)->AwaitSyncCycleCompletion(
- "Waiting for typed url change."));
-
- // Verify client did not change.
- AssertAllProfilesHaveSameURLsAsVerifier();
-}
-

Powered by Google App Engine
This is Rietveld 408576698