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

Unified Diff: sync/api/attachments/attachment_metadata_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
« no previous file with comments | « sync/api/attachments/attachment_metadata.cc ('k') | sync/api/attachments/attachment_store.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/api/attachments/attachment_metadata_unittest.cc
diff --git a/sync/api/attachments/attachment_metadata_unittest.cc b/sync/api/attachments/attachment_metadata_unittest.cc
deleted file mode 100644
index 99ab8d3d8aaf4231801d0aad31c7f49f0b627049..0000000000000000000000000000000000000000
--- a/sync/api/attachments/attachment_metadata_unittest.cc
+++ /dev/null
@@ -1,25 +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 "sync/api/attachments/attachment_metadata.h"
-
-#include <stddef.h>
-#include <stdint.h>
-
-#include "testing/gtest/include/gtest/gtest.h"
-
-namespace syncer {
-
-class AttachmentMetadataTest : public testing::Test {};
-
-TEST_F(AttachmentMetadataTest, Create) {
- size_t size = 42;
- uint32_t crc32c = 2349829;
- AttachmentId id = AttachmentId::Create(size, crc32c);
- AttachmentMetadata metadata(id, size);
- EXPECT_EQ(metadata.GetId(), id);
- EXPECT_EQ(metadata.GetSize(), size);
-}
-
-} // namespace syncer
« no previous file with comments | « sync/api/attachments/attachment_metadata.cc ('k') | sync/api/attachments/attachment_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698