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

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

Issue 11636006: WIP: The Bookmark Position Megapatch (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Various updates, including switch suffix to unique_client_tag style Created 8 years 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 | Annotate | Revision Log
« no previous file with comments | « sync/syncable/syncable_enum_conversions.cc ('k') | sync/syncable/syncable_id.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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 TEST_F(SyncableEnumConversionsTest, GetStringFieldString) { 70 TEST_F(SyncableEnumConversionsTest, GetStringFieldString) {
71 TestEnumStringFunction( 71 TestEnumStringFunction(
72 GetStringFieldString, STRING_FIELDS_BEGIN, STRING_FIELDS_END - 1); 72 GetStringFieldString, STRING_FIELDS_BEGIN, STRING_FIELDS_END - 1);
73 } 73 }
74 74
75 TEST_F(SyncableEnumConversionsTest, GetProtoFieldString) { 75 TEST_F(SyncableEnumConversionsTest, GetProtoFieldString) {
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, GetOrdinalFieldString) { 80 TEST_F(SyncableEnumConversionsTest, GetUniquePositionFieldString) {
81 TestEnumStringFunction( 81 TestEnumStringFunction(
82 GetOrdinalFieldString, ORDINAL_FIELDS_BEGIN, ORDINAL_FIELDS_END - 1); 82 GetUniquePositionFieldString,
83 UNIQUE_POSITION_FIELDS_BEGIN, UNIQUE_POSITION_FIELDS_END - 1);
84 }
85
86 TEST_F(SyncableEnumConversionsTest, GetBytesFieldString) {
87 TestEnumStringFunction(
88 GetBytesFieldString, BYTES_FIELDS_BEGIN, BYTES_FIELDS_END - 1);
83 } 89 }
84 90
85 TEST_F(SyncableEnumConversionsTest, GetBitTempString) { 91 TEST_F(SyncableEnumConversionsTest, GetBitTempString) {
86 TestEnumStringFunction( 92 TestEnumStringFunction(
87 GetBitTempString, BIT_TEMPS_BEGIN, BIT_TEMPS_END - 1); 93 GetBitTempString, BIT_TEMPS_BEGIN, BIT_TEMPS_END - 1);
88 } 94 }
89 95
90 } // namespace 96 } // namespace
91 } // namespace syncable 97 } // namespace syncable
92 } // namespace syncer 98 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/syncable/syncable_enum_conversions.cc ('k') | sync/syncable/syncable_id.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698