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

Unified Diff: components/sync/syncable/syncable_id_unittest.cc

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 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
Index: components/sync/syncable/syncable_id_unittest.cc
diff --git a/sync/syncable/syncable_id_unittest.cc b/components/sync/syncable/syncable_id_unittest.cc
similarity index 92%
rename from sync/syncable/syncable_id_unittest.cc
rename to components/sync/syncable/syncable_id_unittest.cc
index 53e50c524c83c9340348895667d803585da18947..c537db51dbff7b79a575ac6ac853a22111150e48 100644
--- a/sync/syncable/syncable_id_unittest.cc
+++ b/components/sync/syncable/syncable_id_unittest.cc
@@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "sync/syncable/syncable_id.h"
+#include "components/sync/syncable/syncable_id.h"
#include <vector>
#include "base/test/values_test_util.h"
#include "base/values.h"
-#include "sync/test/engine/test_id_factory.h"
+#include "components/sync/test/engine/test_id_factory.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace syncer {
@@ -16,7 +16,7 @@ namespace syncable {
using std::vector;
-class SyncableIdTest : public testing::Test { };
+class SyncableIdTest : public testing::Test {};
TEST(SyncableIdTest, TestIDCreation) {
vector<Id> v;
@@ -70,12 +70,12 @@ TEST(SyncableIdTest, GetLeastIdForLexicographicComparison) {
if (*j < *i) {
ASSERT_LT(j->GetLexicographicSuccessor(), *i);
ASSERT_LT(j->GetLexicographicSuccessor(),
- i->GetLexicographicSuccessor());
+ i->GetLexicographicSuccessor());
ASSERT_LT(*j, i->GetLexicographicSuccessor());
} else {
ASSERT_GT(j->GetLexicographicSuccessor(), *i);
ASSERT_GT(j->GetLexicographicSuccessor(),
- i->GetLexicographicSuccessor());
+ i->GetLexicographicSuccessor());
ASSERT_GT(*j, i->GetLexicographicSuccessor());
}
}
« no previous file with comments | « components/sync/syncable/syncable_id.cc ('k') | components/sync/syncable/syncable_model_neutral_write_transaction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698