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

Side by Side Diff: chrome/browser/sync/engine/syncer_proto_util_unittest.cc

Issue 7828055: Move sync test code out of chrome/test (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/syncer_proto_util.h" 5 #include "chrome/browser/sync/engine/syncer_proto_util.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "chrome/browser/sync/engine/syncproto.h" 11 #include "chrome/browser/sync/engine/syncproto.h"
12 #include "chrome/browser/sync/syncable/blob.h" 12 #include "chrome/browser/sync/syncable/blob.h"
13 #include "chrome/browser/sync/syncable/directory_manager.h" 13 #include "chrome/browser/sync/syncable/directory_manager.h"
14 #include "chrome/browser/sync/syncable/syncable.h" 14 #include "chrome/browser/sync/syncable/syncable.h"
15 #include "chrome/test/sync/engine/mock_connection_manager.h" 15 #include "chrome/browser/sync/test/engine/mock_connection_manager.h"
16 #include "chrome/test/sync/engine/test_directory_setter_upper.h" 16 #include "chrome/browser/sync/test/engine/test_directory_setter_upper.h"
17 17
18 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
19 19
20 using syncable::Blob; 20 using syncable::Blob;
21 using syncable::ScopedDirLookup; 21 using syncable::ScopedDirLookup;
22 using syncable::SyncName; 22 using syncable::SyncName;
23 23
24 namespace browser_sync { 24 namespace browser_sync {
25 25
26 TEST(SyncerProtoUtil, TestBlobToProtocolBufferBytesUtilityFunctions) { 26 TEST(SyncerProtoUtil, TestBlobToProtocolBufferBytesUtilityFunctions) {
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 dcm.set_send_error(false); 233 dcm.set_send_error(false);
234 EXPECT_TRUE(SyncerProtoUtil::PostAndProcessHeaders(&dcm, NULL, 234 EXPECT_TRUE(SyncerProtoUtil::PostAndProcessHeaders(&dcm, NULL,
235 msg, &response)); 235 msg, &response));
236 236
237 dcm.set_access_denied(true); 237 dcm.set_access_denied(true);
238 EXPECT_FALSE(SyncerProtoUtil::PostAndProcessHeaders(&dcm, NULL, 238 EXPECT_FALSE(SyncerProtoUtil::PostAndProcessHeaders(&dcm, NULL,
239 msg, &response)); 239 msg, &response));
240 } 240 }
241 241
242 } // namespace browser_sync 242 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sync/engine/sync_scheduler_whitebox_unittest.cc ('k') | chrome/browser/sync/engine/syncer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698