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

Side by Side Diff: sync/syncable/syncable_enum_conversions_unittest.cc

Issue 211523002: Add AttachmentMetadata to Sync's EntryKernel. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Forgot about using META_PROTO_TIMES_VALS in the test. Created 6 years, 8 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 unified diff | Download patch
« no previous file with comments | « sync/syncable/syncable_enum_conversions.cc ('k') | sync/test/test_directory_backing_store.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Keep this file in sync with entry_kernel.h. 5 // Keep this file in sync with entry_kernel.h.
6 6
7 #include "sync/syncable/syncable_enum_conversions.h" 7 #include "sync/syncable/syncable_enum_conversions.h"
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 TestEnumStringFunction( 76 TestEnumStringFunction(
77 GetProtoFieldString, PROTO_FIELDS_BEGIN, PROTO_FIELDS_END - 1); 77 GetProtoFieldString, PROTO_FIELDS_BEGIN, PROTO_FIELDS_END - 1);
78 } 78 }
79 79
80 TEST_F(SyncableEnumConversionsTest, GetUniquePositionFieldString) { 80 TEST_F(SyncableEnumConversionsTest, GetUniquePositionFieldString) {
81 TestEnumStringFunction( 81 TestEnumStringFunction(
82 GetUniquePositionFieldString, 82 GetUniquePositionFieldString,
83 UNIQUE_POSITION_FIELDS_BEGIN, UNIQUE_POSITION_FIELDS_END - 1); 83 UNIQUE_POSITION_FIELDS_BEGIN, UNIQUE_POSITION_FIELDS_END - 1);
84 } 84 }
85 85
86 TEST_F(SyncableEnumConversionsTest, GetAttachmentMetadataFieldString) {
87 TestEnumStringFunction(
88 GetAttachmentMetadataFieldString,
89 ATTACHMENT_METADATA_FIELDS_BEGIN, ATTACHMENT_METADATA_FIELDS_END - 1);
90 }
91
86 TEST_F(SyncableEnumConversionsTest, GetBitTempString) { 92 TEST_F(SyncableEnumConversionsTest, GetBitTempString) {
87 TestEnumStringFunction( 93 TestEnumStringFunction(
88 GetBitTempString, BIT_TEMPS_BEGIN, BIT_TEMPS_END - 1); 94 GetBitTempString, BIT_TEMPS_BEGIN, BIT_TEMPS_END - 1);
89 } 95 }
90 96
91 } // namespace 97 } // namespace
92 } // namespace syncable 98 } // namespace syncable
93 } // namespace syncer 99 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/syncable/syncable_enum_conversions.cc ('k') | sync/test/test_directory_backing_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698