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

Side by Side Diff: sync/syncable/model_type_test_util.h

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/syncable/model_type_payload_map_unittest.cc ('k') | sync/syncable/model_type_test_util.cc » ('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) 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 #ifndef CHROME_BROWSER_SYNC_SYNCABLE_MODEL_TYPE_TEST_UTIL_H_ 5 #ifndef SYNC_SYNCABLE_MODEL_TYPE_TEST_UTIL_H_
6 #define CHROME_BROWSER_SYNC_SYNCABLE_MODEL_TYPE_TEST_UTIL_H_ 6 #define SYNC_SYNCABLE_MODEL_TYPE_TEST_UTIL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <ostream> 9 #include <ostream>
10 10
11 #include "chrome/browser/sync/syncable/model_type.h" 11 #include "sync/syncable/model_type.h"
12 #include "testing/gmock/include/gmock/gmock.h" 12 #include "testing/gmock/include/gmock/gmock.h"
13 13
14 namespace syncable { 14 namespace syncable {
15 15
16 // Defined for googletest. Forwards to ModelTypeSetToString(). 16 // Defined for googletest. Forwards to ModelTypeSetToString().
17 void PrintTo(ModelTypeSet model_types, ::std::ostream* os); 17 void PrintTo(ModelTypeSet model_types, ::std::ostream* os);
18 18
19 // A gmock matcher for ModelTypeSet. Use like: 19 // A gmock matcher for ModelTypeSet. Use like:
20 // 20 //
21 // EXPECT_CALL(mock, ProcessModelTypes(HasModelTypes(expected_types))); 21 // EXPECT_CALL(mock, ProcessModelTypes(HasModelTypes(expected_types)));
22 ::testing::Matcher<ModelTypeSet> HasModelTypes(ModelTypeSet expected_types); 22 ::testing::Matcher<ModelTypeSet> HasModelTypes(ModelTypeSet expected_types);
23 23
24 } // namespace syncable 24 } // namespace syncable
25 25
26 #endif // CHROME_BROWSER_SYNC_SYNCABLE_MODEL_TYPE_TEST_UTIL_H_ 26 #endif // SYNC_SYNCABLE_MODEL_TYPE_TEST_UTIL_H_
OLDNEW
« no previous file with comments | « sync/syncable/model_type_payload_map_unittest.cc ('k') | sync/syncable/model_type_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698