OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/file_util.h" | |
10 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
| 10 #include "base/files/file_util.h" |
11 #include "base/files/scoped_temp_dir.h" | 11 #include "base/files/scoped_temp_dir.h" |
12 #include "base/location.h" | 12 #include "base/location.h" |
13 #include "base/logging.h" | 13 #include "base/logging.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/message_loop/message_loop.h" | 15 #include "base/message_loop/message_loop.h" |
16 #include "base/stl_util.h" | 16 #include "base/stl_util.h" |
17 #include "base/synchronization/condition_variable.h" | 17 #include "base/synchronization/condition_variable.h" |
18 #include "base/test/values_test_util.h" | 18 #include "base/test/values_test_util.h" |
19 #include "base/threading/platform_thread.h" | 19 #include "base/threading/platform_thread.h" |
20 #include "base/values.h" | 20 #include "base/values.h" |
(...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
668 TEST_F(SyncableClientTagTest, TestClientTagIndexDuplicateServer) { | 668 TEST_F(SyncableClientTagTest, TestClientTagIndexDuplicateServer) { |
669 EXPECT_TRUE(CreateWithDefaultTag(factory_.NewServerId(), true)); | 669 EXPECT_TRUE(CreateWithDefaultTag(factory_.NewServerId(), true)); |
670 EXPECT_FALSE(CreateWithDefaultTag(factory_.NewServerId(), true)); | 670 EXPECT_FALSE(CreateWithDefaultTag(factory_.NewServerId(), true)); |
671 EXPECT_FALSE(CreateWithDefaultTag(factory_.NewServerId(), false)); | 671 EXPECT_FALSE(CreateWithDefaultTag(factory_.NewServerId(), false)); |
672 EXPECT_FALSE(CreateWithDefaultTag(factory_.NewLocalId(), false)); | 672 EXPECT_FALSE(CreateWithDefaultTag(factory_.NewLocalId(), false)); |
673 EXPECT_FALSE(CreateWithDefaultTag(factory_.NewLocalId(), true)); | 673 EXPECT_FALSE(CreateWithDefaultTag(factory_.NewLocalId(), true)); |
674 } | 674 } |
675 | 675 |
676 } // namespace syncable | 676 } // namespace syncable |
677 } // namespace syncer | 677 } // namespace syncer |
OLD | NEW |