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

Unified Diff: chrome/browser/sync/test/integration/sync_exponential_backoff_test.cc

Issue 310103004: Add integraton test for sync backup/rollback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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/integration/sync_exponential_backoff_test.cc
diff --git a/chrome/browser/sync/test/integration/sync_exponential_backoff_test.cc b/chrome/browser/sync/test/integration/sync_exponential_backoff_test.cc
index 7a312e1d19469927c60b86ee7967390ea7dae546..c5ddd0c260ae9fab63441875a625d91dea330832 100644
--- a/chrome/browser/sync/test/integration/sync_exponential_backoff_test.cc
+++ b/chrome/browser/sync/test/integration/sync_exponential_backoff_test.cc
@@ -67,14 +67,14 @@ IN_PROC_BROWSER_TEST_F(SyncExponentialBackoffTest, OfflineToOnline) {
ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
// Add an item and ensure that sync is successful.
- ASSERT_TRUE(AddFolder(0, 0, L"folder1"));
+ ASSERT_TRUE(AddFolder(0, 0, "folder1"));
ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0))));
// Trigger a network error at the client side.
DisableNetwork(GetProfile(0));
// Add a new item to trigger another sync cycle.
- ASSERT_TRUE(AddFolder(0, 0, L"folder2"));
+ ASSERT_TRUE(AddFolder(0, 0, "folder2"));
// Verify that the client goes into exponential backoff while it is unable to
// reach the sync server.
@@ -95,14 +95,14 @@ IN_PROC_BROWSER_TEST_F(SyncExponentialBackoffTest, TransientErrorTest) {
ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
// Add an item and ensure that sync is successful.
- ASSERT_TRUE(AddFolder(0, 0, L"folder1"));
+ ASSERT_TRUE(AddFolder(0, 0, "folder1"));
ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0))));
// Trigger a transient error on the server.
TriggerTransientError();
// Add a new item to trigger another sync cycle.
- ASSERT_TRUE(AddFolder(0, 0, L"folder2"));
+ ASSERT_TRUE(AddFolder(0, 0, "folder2"));
// Verify that the client goes into exponential backoff while it is unable to
// reach the sync server.

Powered by Google App Engine
This is Rietveld 408576698