test_console.h 658 B

123456789101112131415161718192021222324252627
  1. // Copyright (c) 2012 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_CONSOLE_H_
  5. #define PPAPI_TESTS_TEST_CONSOLE_H_
  6. #include <string>
  7. #include "ppapi/c/ppb_console.h"
  8. #include "ppapi/tests/test_case.h"
  9. class TestConsole : public TestCase {
  10. public:
  11. explicit TestConsole(TestingInstance* instance);
  12. // TestCase implementation.
  13. virtual bool Init();
  14. virtual void RunTests(const std::string& filter);
  15. private:
  16. std::string TestSmoke();
  17. const PPB_Console* console_interface_;
  18. };
  19. #endif // PPAPI_TESTS_TEST_CONSOLE_H_