Home | History | Annotate | Download | only in tests
      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 
      5 #ifndef PPAPI_TESTS_TEST_TEST_INTERNALS_H_
      6 #define PPAPI_TESTS_TEST_TEST_INTERNALS_H_
      7 
      8 #include <string>
      9 
     10 #include "ppapi/tests/test_case.h"
     11 
     12 // This class is for testing the test framework itself.
     13 class TestTestInternals : public TestCase {
     14  public:
     15   explicit TestTestInternals(TestingInstance* instance) : TestCase(instance) {}
     16 
     17  private:
     18   // TestCase implementation.
     19   virtual bool Init();
     20   virtual void RunTests(const std::string& filter);
     21 
     22   std::string TestToString();
     23   std::string TestPassingComparisons();
     24   std::string TestFailingComparisons();
     25   std::string TestEvaluateOnce();
     26 };
     27 
     28 #endif  // PPAPI_TESTS_TEST_TEST_INTERNALS_H_
     29