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

Side by Side Diff: sync/engine/build_commit_command_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/engine/build_commit_command.cc ('k') | sync/engine/cleanup_disabled_types_command.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) 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 #include "chrome/browser/sync/engine/build_commit_command.h" 5 #include "sync/engine/build_commit_command.h"
6 #include "chrome/browser/sync/test/engine/syncer_command_test.h" 6 #include "sync/test/engine/syncer_command_test.h"
7 7
8 namespace browser_sync { 8 namespace browser_sync {
9 9
10 // A test fixture for tests exercising ClearDataCommandTest. 10 // A test fixture for tests exercising ClearDataCommandTest.
11 class BuildCommitCommandTest : public SyncerCommandTest { 11 class BuildCommitCommandTest : public SyncerCommandTest {
12 protected: 12 protected:
13 BuildCommitCommandTest() {} 13 BuildCommitCommandTest() {}
14 BuildCommitCommand command_; 14 BuildCommitCommand command_;
15 15
16 private: 16 private:
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 command_.InterpolatePosition(0, BuildCommitCommand::GetGap())); 89 command_.InterpolatePosition(0, BuildCommitCommand::GetGap()));
90 EXPECT_EQ(BuildCommitCommand::GetGap() / 4, 90 EXPECT_EQ(BuildCommitCommand::GetGap() / 4,
91 command_.InterpolatePosition(0, BuildCommitCommand::GetGap()*2)); 91 command_.InterpolatePosition(0, BuildCommitCommand::GetGap()*2));
92 EXPECT_EQ(BuildCommitCommand::GetGap(), 92 EXPECT_EQ(BuildCommitCommand::GetGap(),
93 command_.InterpolatePosition(0, BuildCommitCommand::GetGap()*2 + 1)); 93 command_.InterpolatePosition(0, BuildCommitCommand::GetGap()*2 + 1));
94 } 94 }
95 95
96 } // namespace browser_sync 96 } // namespace browser_sync
97 97
98 98
OLDNEW
« no previous file with comments | « sync/engine/build_commit_command.cc ('k') | sync/engine/cleanup_disabled_types_command.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698