test_test_internals.h 808 B

12345678910111213141516171819202122232425262728
  1. // Copyright 2014 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_TEST_INTERNALS_H_
  5. #define PPAPI_TESTS_TEST_TEST_INTERNALS_H_
  6. #include <string>
  7. #include "ppapi/tests/test_case.h"
  8. // This class is for testing the test framework itself.
  9. class TestTestInternals : public TestCase {
  10. public:
  11. explicit TestTestInternals(TestingInstance* instance) : TestCase(instance) {}
  12. private:
  13. // TestCase implementation.
  14. virtual bool Init();
  15. virtual void RunTests(const std::string& filter);
  16. std::string TestToString();
  17. std::string TestPassingComparisons();
  18. std::string TestFailingComparisons();
  19. std::string TestEvaluateOnce();
  20. };
  21. #endif // PPAPI_TESTS_TEST_TEST_INTERNALS_H_