chrome: bluetooth: hook up the AdapterAdded signal
[chromium-blink-merge.git] / webkit / fileapi / test_file_set.h
blob75673c9fa29beb0cdb23fcb43c5e1296af124962
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.
5 #ifndef WEBKIT_FILEAPI_TEST_FILE_SET_H_
6 #define WEBKIT_FILEAPI_TEST_FILE_SET_H_
8 #include <set>
10 #include "base/file_path.h"
12 // Common test data structures and test cases.
14 namespace fileapi {
16 class FileSystemFileUtil;
18 namespace test {
20 struct TestCaseRecord {
21 bool is_directory;
22 const FilePath::CharType path[64];
23 int64 data_file_size;
26 extern const TestCaseRecord kRegularTestCases[];
27 extern const size_t kRegularTestCaseSize;
29 size_t GetRegularTestCaseSize();
31 // Creates one file or directory specified by |record|.
32 void SetUpOneTestCase(const FilePath& root_path, const TestCaseRecord& record);
34 // Creates the files and directories specified in kRegularTestCases.
35 void SetUpRegularTestCases(const FilePath& root_path);
37 } // namespace test
39 } // namespace fileapi
41 #endif // WEBKIT_FILEAPI_TEST_FILE_SET_H_