OLD | NEW |
1 // Copyright (c) 2009 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 #include "chrome/browser/sync/engine/syncproto.h" | 5 #include "sync/engine/syncproto.h" |
6 #include "testing/gtest/include/gtest/gtest.h" | 6 #include "testing/gtest/include/gtest/gtest.h" |
7 | 7 |
8 namespace browser_sync { | 8 namespace browser_sync { |
9 | 9 |
10 class SyncProtoTest : public testing::Test { | 10 class SyncProtoTest : public testing::Test { |
11 }; | 11 }; |
12 | 12 |
13 TEST_F(SyncProtoTest, ProtocolVersionPresent) { | 13 TEST_F(SyncProtoTest, ProtocolVersionPresent) { |
14 ClientToServerMessage csm; | 14 ClientToServerMessage csm; |
15 EXPECT_TRUE(csm.has_protocol_version()); | 15 EXPECT_TRUE(csm.has_protocol_version()); |
16 } | 16 } |
17 | 17 |
18 } // namespace browser_sync | 18 } // namespace browser_sync |
OLD | NEW |