Chromium Code Reviews| Index: ppapi/tests/test_flash.h |
| diff --git a/ppapi/tests/test_flash.h b/ppapi/tests/test_flash.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..35671d406931c4943e1df5a9d83ffdc6dbb0aa51 |
| --- /dev/null |
| +++ b/ppapi/tests/test_flash.h |
| @@ -0,0 +1,40 @@ |
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef PAPPI_TESTS_TEST_FLASH_H_ |
| +#define PAPPI_TESTS_TEST_FLASH_H_ |
| + |
| +#include <string> |
| + |
| +#include "ppapi/cpp/completion_callback.h" |
| +#include "ppapi/c/pp_stdint.h" |
| +#include "ppapi/tests/test_case.h" |
| + |
| +struct PPB_Flash; |
| + |
| +class TestFlash : public TestCase { |
| + public: |
| + explicit TestFlash(TestingInstance* instance); |
| + |
| + // TestCase implementation. |
| + virtual bool Init(); |
| + virtual void RunTest(); |
|
dmichael (off chromium)
2011/11/17 04:10:46
This is now 'RunTests(const std::string& filter)'
viettrungluu
2011/11/17 19:13:39
Done.
|
| + |
| + private: |
| + // TODO(viettrungluu): Implement the commented-out tests. |
| + std::string TestSetInstanceAlwaysOnTop(); |
| + // std::string TestDrawGlyphs(); |
| + std::string TestGetProxyForURL(); |
| + // std::string TestNavigate(); |
| + std::string TestMessageLoop(); |
| + std::string TestGetLocalTimeZoneOffset(); |
| + std::string TestGetCommandLineArgs(); |
| + |
| + void QuitMessageLoopTask(int32_t); |
| + |
| + const PPB_Flash* flash_interface_; |
| + pp::CompletionCallbackFactory<TestFlash> callback_factory_; |
| +}; |
| + |
| +#endif // PAPPI_TESTS_TEST_FLASH_H_ |