OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "content/test/fileapi_test_file_set.h" | 5 #include "content/test/fileapi_test_file_set.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/file_util.h" | |
10 #include "base/files/file.h" | 9 #include "base/files/file.h" |
| 10 #include "base/files/file_util.h" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/rand_util.h" | 12 #include "base/rand_util.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
14 | 14 |
15 namespace content { | 15 namespace content { |
16 | 16 |
17 const FileSystemTestCaseRecord kRegularFileSystemTestCases[] = { | 17 const FileSystemTestCaseRecord kRegularFileSystemTestCases[] = { |
18 {true, FILE_PATH_LITERAL("dir a"), 0}, | 18 {true, FILE_PATH_LITERAL("dir a"), 0}, |
19 {true, FILE_PATH_LITERAL("dir a/dir A"), 0}, | 19 {true, FILE_PATH_LITERAL("dir a/dir A"), 0}, |
20 {true, FILE_PATH_LITERAL("dir a/dir d"), 0}, | 20 {true, FILE_PATH_LITERAL("dir a/dir d"), 0}, |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 | 58 |
59 | 59 |
60 void SetUpRegularFileSystemTestCases(const base::FilePath& root_path) { | 60 void SetUpRegularFileSystemTestCases(const base::FilePath& root_path) { |
61 for (size_t i = 0; i < arraysize(kRegularFileSystemTestCases); ++i) { | 61 for (size_t i = 0; i < arraysize(kRegularFileSystemTestCases); ++i) { |
62 SCOPED_TRACE(testing::Message() << "Creating kRegularTestCases " << i); | 62 SCOPED_TRACE(testing::Message() << "Creating kRegularTestCases " << i); |
63 SetUpOneFileSystemTestCase(root_path, kRegularFileSystemTestCases[i]); | 63 SetUpOneFileSystemTestCase(root_path, kRegularFileSystemTestCases[i]); |
64 } | 64 } |
65 } | 65 } |
66 | 66 |
67 } // namespace content | 67 } // namespace content |
OLD | NEW |