OLD | NEW |
| (Empty) |
1 // Copyright (c) 2011 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. | |
4 | |
5 #ifndef PAPPI_TESTS_TEST_DIRECTORY_READER_H_ | |
6 #define PAPPI_TESTS_TEST_DIRECTORY_READER_H_ | |
7 | |
8 #include <string> | |
9 | |
10 #include "ppapi/tests/test_case.h" | |
11 | |
12 namespace pp { | |
13 class FileRef; | |
14 } | |
15 | |
16 class TestDirectoryReader : public TestCase { | |
17 public: | |
18 explicit TestDirectoryReader(TestingInstance* instance) | |
19 : TestCase(instance) {} | |
20 | |
21 // TestCase implementation. | |
22 virtual bool Init(); | |
23 virtual void RunTests(const std::string& filter); | |
24 | |
25 private: | |
26 int32_t DeleteDirectoryRecursively(pp::FileRef*); | |
27 | |
28 std::string TestReadEntries(); | |
29 }; | |
30 | |
31 #endif // PAPPI_TESTS_TEST_DIRECTORY_READER_H_ | |
OLD | NEW |