test_trace_event.h 752 B

1234567891011121314151617181920212223242526272829
  1. // Copyright 2013 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_TRACE_EVENT_H_
  5. #define PPAPI_TESTS_TEST_TRACE_EVENT_H_
  6. #include <string>
  7. #include "ppapi/c/dev/ppb_trace_event_dev.h"
  8. #include "ppapi/tests/test_case.h"
  9. class TestTraceEvent : public TestCase {
  10. public:
  11. explicit TestTraceEvent(TestingInstance* instance);
  12. private:
  13. // TestCase implementation.
  14. virtual bool Init();
  15. virtual void RunTests(const std::string& filter);
  16. std::string TestSmoke();
  17. std::string TestSmokeWithTimestamps();
  18. std::string TestClock();
  19. const PPB_Trace_Event_Dev* interface_;
  20. };
  21. #endif // PPAPI_TESTS_TEST_TRACE_EVENT_H_