Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Side by Side Diff: sync/util/protobuf_unittest.cc

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Tim's comments Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sync/util/nigori_unittest.cc ('k') | sync/util/report_unrecoverable_error_function.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include <string> 5 #include <string>
6 #include <vector> 6 #include <vector>
7 7
8 #include "sync/protocol/test.pb.h" 8 #include "sync/protocol/test.pb.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 10
(...skipping 15 matching lines...) Expand all
26 ASSERT_TRUE(a.ParseFromString(serialized)); 26 ASSERT_TRUE(a.ParseFromString(serialized));
27 ASSERT_TRUE(a.foo()); 27 ASSERT_TRUE(a.foo());
28 std::string serialized2; 28 std::string serialized2;
29 ASSERT_TRUE(a.SerializeToString(&serialized2)); 29 ASSERT_TRUE(a.SerializeToString(&serialized2));
30 ASSERT_TRUE(b2.ParseFromString(serialized2)); 30 ASSERT_TRUE(b2.ParseFromString(serialized2));
31 ASSERT_TRUE(b2.foo()); 31 ASSERT_TRUE(b2.foo());
32 ASSERT_TRUE(b2.bar()); 32 ASSERT_TRUE(b2.bar());
33 } 33 }
34 34
35 } // namespace 35 } // namespace
OLDNEW
« no previous file with comments | « sync/util/nigori_unittest.cc ('k') | sync/util/report_unrecoverable_error_function.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698