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

Unified Diff: chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc

Issue 394033005: [SyncFS] Make the snapshot sync of local-to-remote sync parallelization enabled. (2/3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
« no previous file with comments | « chrome/browser/sync_file_system/local/local_file_change_tracker.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc
diff --git a/chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc b/chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc
index c3b9e9aed98bb4be3cc3f40abd5eb84b1813fe0c..cada3cbce706c4955488b705c2649dec8782f6a6 100644
--- a/chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc
+++ b/chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc
@@ -236,13 +236,11 @@ TEST_F(LocalFileChangeTrackerTest, GetChanges) {
urls_to_process.clear();
change_tracker()->GetNextChangedURLs(&urls_to_process, 0);
ASSERT_EQ(5U, urls_to_process.size());
- EXPECT_EQ(URL(kPath2), urls_to_process[0]);
- EXPECT_EQ(URL(kPath5), urls_to_process[1]);
- EXPECT_EQ(URL(kPath4), urls_to_process[2]);
- EXPECT_TRUE(URL(kPath1) == urls_to_process[3] ||
- URL(kPath1) == urls_to_process[4]);
- EXPECT_TRUE(URL(kPath3) == urls_to_process[3] ||
- URL(kPath3) == urls_to_process[4]);
+ EXPECT_EQ(URL(kPath1), urls_to_process[0]);
+ EXPECT_EQ(URL(kPath2), urls_to_process[1]);
+ EXPECT_EQ(URL(kPath3), urls_to_process[2]);
+ EXPECT_EQ(URL(kPath5), urls_to_process[3]);
+ EXPECT_EQ(URL(kPath4), urls_to_process[4]);
// No changes to promote any more.
EXPECT_FALSE(change_tracker()->PromoteDemotedChanges());
« no previous file with comments | « chrome/browser/sync_file_system/local/local_file_change_tracker.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698