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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 |
OLD | NEW |