OLD | NEW |
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 Loading... |
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) { |
| 81 TestEnumStringFunction( |
| 82 GetOrdinalFieldString, ORDINAL_FIELDS_BEGIN, ORDINAL_FIELDS_END - 1); |
| 83 } |
| 84 |
80 TEST_F(SyncableEnumConversionsTest, GetBitTempString) { | 85 TEST_F(SyncableEnumConversionsTest, GetBitTempString) { |
81 TestEnumStringFunction( | 86 TestEnumStringFunction( |
82 GetBitTempString, BIT_TEMPS_BEGIN, BIT_TEMPS_END - 1); | 87 GetBitTempString, BIT_TEMPS_BEGIN, BIT_TEMPS_END - 1); |
83 } | 88 } |
84 | 89 |
85 } // namespace | 90 } // namespace |
86 } // namespace syncable | 91 } // namespace syncable |
87 } // namespace syncer | 92 } // namespace syncer |
OLD | NEW |