test_file_system.h 699 B

123456789101112131415161718192021222324252627
  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. #ifndef PPAPI_TESTS_TEST_FILE_SYSTEM_H_
  5. #define PPAPI_TESTS_TEST_FILE_SYSTEM_H_
  6. #include <string>
  7. #include "ppapi/tests/test_case.h"
  8. class TestFileSystem : public TestCase {
  9. public:
  10. explicit TestFileSystem(TestingInstance* instance) : TestCase(instance) {}
  11. // TestCase implementation.
  12. virtual bool Init();
  13. virtual void RunTests(const std::string& filter);
  14. private:
  15. std::string TestOpen();
  16. std::string TestMultipleOpens();
  17. std::string TestResourceConversion();
  18. };
  19. #endif // PPAPI_TESTS_TEST_FILE_SYSTEM_H_