OLD | NEW |
1 // Copyright (c) 2011 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 syncable.h. | 5 // Keep this file in sync with syncable.h. |
6 | 6 |
7 #include "chrome/browser/sync/syncable/syncable_enum_conversions.h" | 7 #include "sync/syncable/syncable_enum_conversions.h" |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
12 | 12 |
13 namespace syncable { | 13 namespace syncable { |
14 namespace { | 14 namespace { |
15 | 15 |
16 class SyncableEnumConversionsTest : public testing::Test { | 16 class SyncableEnumConversionsTest : public testing::Test { |
17 }; | 17 }; |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 GetProtoFieldString, PROTO_FIELDS_BEGIN, PROTO_FIELDS_END - 1); | 76 GetProtoFieldString, PROTO_FIELDS_BEGIN, PROTO_FIELDS_END - 1); |
77 } | 77 } |
78 | 78 |
79 TEST_F(SyncableEnumConversionsTest, GetBitTempString) { | 79 TEST_F(SyncableEnumConversionsTest, GetBitTempString) { |
80 TestEnumStringFunction( | 80 TestEnumStringFunction( |
81 GetBitTempString, BIT_TEMPS_BEGIN, BIT_TEMPS_END - 1); | 81 GetBitTempString, BIT_TEMPS_BEGIN, BIT_TEMPS_END - 1); |
82 } | 82 } |
83 | 83 |
84 } // namespace | 84 } // namespace |
85 } // namespace syncable | 85 } // namespace syncable |
OLD | NEW |