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 PPAPI_TESTS_TEST_FLASH_FILE_H_
6 #define PPAPI_TESTS_TEST_FLASH_FILE_H_
10 #include "ppapi/tests/test_case.h"
12 class TestFlashFile
: public TestCase
{
14 explicit TestFlashFile(TestingInstance
* instance
);
15 virtual ~TestFlashFile();
17 // TestCase implementation.
19 virtual void RunTests(const std::string
& filter
);
22 // TODO(raymes): We should have SetUp/TearDown methods for ppapi tests.
25 std::string
TestOpenFile();
26 std::string
TestRenameFile();
27 std::string
TestDeleteFileOrDir();
28 std::string
TestCreateDir();
29 std::string
TestQueryFile();
30 std::string
TestGetDirContents();
31 std::string
TestCreateTemporaryFile();
33 // TODO(raymes): Add these when we can test file chooser properly.
34 // std::string TestOpenFileRef();
35 // std::string TestQueryFileRef();
37 // Gets the number of files and directories under the module-local root
39 std::string
GetItemCountUnderModuleLocalRoot(size_t* item_count
);
42 #endif // PPAPI_TESTS_TEST_FLASH_FILE_H_