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 "testing/gtest/include/gtest/gtest.h" | 5 #include "testing/gtest/include/gtest/gtest.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
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/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/stl_util.h" | 13 #include "base/stl_util.h" |
14 #include "base/strings/string_number_conversions.h" | 14 #include "base/strings/string_number_conversions.h" |
15 #include "sql/connection.h" | 15 #include "sql/connection.h" |
16 #include "sql/statement.h" | 16 #include "sql/statement.h" |
17 #include "sync/base/sync_export.h" | 17 #include "sync/base/sync_export.h" |
18 #include "sync/internal_api/public/base/node_ordinal.h" | 18 #include "sync/internal_api/public/base/node_ordinal.h" |
19 #include "sync/protocol/bookmark_specifics.pb.h" | 19 #include "sync/protocol/bookmark_specifics.pb.h" |
20 #include "sync/protocol/sync.pb.h" | 20 #include "sync/protocol/sync.pb.h" |
(...skipping 3929 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3950 const std::string& guid2 = TestDirectoryBackingStore::GenerateCacheGUID(); | 3950 const std::string& guid2 = TestDirectoryBackingStore::GenerateCacheGUID(); |
3951 EXPECT_EQ(24U, guid1.size()); | 3951 EXPECT_EQ(24U, guid1.size()); |
3952 EXPECT_EQ(24U, guid2.size()); | 3952 EXPECT_EQ(24U, guid2.size()); |
3953 // In theory this test can fail, but it won't before the universe | 3953 // In theory this test can fail, but it won't before the universe |
3954 // dies of heat death. | 3954 // dies of heat death. |
3955 EXPECT_NE(guid1, guid2); | 3955 EXPECT_NE(guid1, guid2); |
3956 } | 3956 } |
3957 | 3957 |
3958 } // namespace syncable | 3958 } // namespace syncable |
3959 } // namespace syncer | 3959 } // namespace syncer |
OLD | NEW |