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

Unified Diff: components/sync/api/attachments/attachment_id_unittest.cc

Issue 2401223002: [Sync] Renaming sync/api* to sync/model*. (Closed)
Patch Set: Missed a comment in a DEPS file, and rebasing. Created 4 years, 2 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/api/attachments/attachment_id_unittest.cc
diff --git a/components/sync/api/attachments/attachment_id_unittest.cc b/components/sync/api/attachments/attachment_id_unittest.cc
deleted file mode 100644
index 8fc9ab886525abaf12a5d716e1e924eb8a129000..0000000000000000000000000000000000000000
--- a/components/sync/api/attachments/attachment_id_unittest.cc
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2014 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 "components/sync/api/attachments/attachment.h"
-
-#include <string>
-
-#include "testing/gtest/include/gtest/gtest.h"
-
-namespace syncer {
-
-class AttachmentIdTest : public testing::Test {};
-
-TEST_F(AttachmentIdTest, Create_IsUnique) {
- AttachmentId id1 = AttachmentId::Create(0, 0);
- AttachmentId id2 = AttachmentId::Create(0, 0);
- EXPECT_NE(id1, id2);
-}
-
-TEST_F(AttachmentIdTest, OperatorEqual) {
- AttachmentId id1 = AttachmentId::Create(0, 0);
- AttachmentId id2(id1);
- EXPECT_EQ(id1, id2);
-}
-
-TEST_F(AttachmentIdTest, OperatorLess) {
- AttachmentId id1 = AttachmentId::Create(0, 0);
- EXPECT_FALSE(id1 < id1);
-
- AttachmentId id2 = AttachmentId::Create(0, 0);
- EXPECT_FALSE(id1 < id1);
-
- EXPECT_NE(id1, id2);
- if (id1 < id2) {
- EXPECT_FALSE(id2 < id1);
- } else {
- EXPECT_TRUE(id2 < id1);
- }
-}
-
-} // namespace syncer
« no previous file with comments | « components/sync/api/attachments/attachment_id.cc ('k') | components/sync/api/attachments/attachment_metadata.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698