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

Side by Side Diff: chrome/browser/sync/test/engine/syncer_command_test.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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "chrome/browser/sync/test/engine/syncer_command_test.h"
6
7 namespace browser_sync {
8
9
10 SyncerCommandTestBase::SyncerCommandTestBase() {
11 }
12
13 SyncerCommandTestBase::~SyncerCommandTestBase() {
14 }
15
16 void SyncerCommandTestBase::SetUp() {
17 ResetContext();
18 // The session always expects there to be a passive worker.
19 workers()->push_back(
20 make_scoped_refptr(new FakeModelWorker(GROUP_PASSIVE)));
21 }
22
23 void SyncerCommandTestBase::TearDown() {
24 }
25
26 Directory* SyncerCommandTest::directory() {
27 return dir_maker_.directory();
28 }
29
30 void SyncerCommandTest::SetUp() {
31 dir_maker_.SetUp();
32 SyncerCommandTestBase::SetUp();
33 }
34
35 void SyncerCommandTest::TearDown() {
36 dir_maker_.TearDown();
37 }
38
39 MockDebugInfoGetter::MockDebugInfoGetter() {
40 }
41
42 MockDebugInfoGetter::~MockDebugInfoGetter() {
43 }
44
45 MockDirectorySyncerCommandTest::MockDirectorySyncerCommandTest()
46 :mock_directory_(&handler_) {
47 }
48
49 MockDirectorySyncerCommandTest::~MockDirectorySyncerCommandTest() {
50 }
51
52 void MockDirectorySyncerCommandTest::SetUp() {
53 // The session always expects there to be a passive worker.
54 workers()->push_back(
55 make_scoped_refptr(new FakeModelWorker(GROUP_PASSIVE)));
56 ResetContext();
57 }
58
59 Directory* MockDirectorySyncerCommandTest::directory() {
60 return &mock_directory_;
61 }
62
63 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sync/test/engine/syncer_command_test.h ('k') | chrome/browser/sync/test/engine/test_directory_setter_upper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698