test_core.h 621 B

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