| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "sync/syncable/entry_kernel.h" | 5 #include "components/sync/syncable/entry_kernel.h" |
| 6 | 6 |
| 7 #include "testing/gtest/include/gtest/gtest.h" | 7 #include "testing/gtest/include/gtest/gtest.h" |
| 8 | 8 |
| 9 namespace syncer { | 9 namespace syncer { |
| 10 | 10 |
| 11 namespace syncable { | 11 namespace syncable { |
| 12 | 12 |
| 13 class EntryKernelTest : public testing::Test {}; | 13 class EntryKernelTest : public testing::Test {}; |
| 14 | 14 |
| 15 TEST_F(EntryKernelTest, ToValue) { | 15 TEST_F(EntryKernelTest, ToValue) { |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 // Put the new value into SPECIFICS and verify that that stops sharing even | 77 // Put the new value into SPECIFICS and verify that that stops sharing even |
| 78 // though the values are still equal. | 78 // though the values are still equal. |
| 79 kernel.put(SPECIFICS, specifics); | 79 kernel.put(SPECIFICS, specifics); |
| 80 EXPECT_FALSE(ProtoFieldValuesAreSame(kernel.ref(SPECIFICS), | 80 EXPECT_FALSE(ProtoFieldValuesAreSame(kernel.ref(SPECIFICS), |
| 81 kernel.ref(SERVER_SPECIFICS))); | 81 kernel.ref(SERVER_SPECIFICS))); |
| 82 } | 82 } |
| 83 | 83 |
| 84 } // namespace syncable | 84 } // namespace syncable |
| 85 | 85 |
| 86 } // namespace syncer | 86 } // namespace syncer |
| OLD | NEW |