Chromium Code Reviews| Index: chrome/test/ppapi/ppapi_test.h |
| =================================================================== |
| --- chrome/test/ppapi/ppapi_test.h (revision 244100) |
| +++ chrome/test/ppapi/ppapi_test.h (working copy) |
| @@ -48,15 +48,16 @@ |
| // Returns the URL to load for file: tests. |
| GURL GetTestFileUrl(const std::string& test_case); |
| - void RunTest(const std::string& test_case); |
| + virtual void RunTest(const std::string& test_case); |
| // Run the test and reload. This can test for clean shutdown, including leaked |
| // instance object vars. |
| - void RunTestAndReload(const std::string& test_case); |
| - void RunTestViaHTTP(const std::string& test_case); |
| - void RunTestWithSSLServer(const std::string& test_case); |
| - void RunTestWithWebSocketServer(const std::string& test_case); |
| - void RunTestIfAudioOutputAvailable(const std::string& test_case); |
| - void RunTestViaHTTPIfAudioOutputAvailable(const std::string& test_case); |
| + virtual void RunTestAndReload(const std::string& test_case); |
| + virtual void RunTestViaHTTP(const std::string& test_case); |
| + virtual void RunTestWithSSLServer(const std::string& test_case); |
| + virtual void RunTestWithWebSocketServer(const std::string& test_case); |
| + virtual void RunTestIfAudioOutputAvailable(const std::string& test_case); |
| + virtual void RunTestViaHTTPIfAudioOutputAvailable( |
| + const std::string& test_case); |
| std::string StripPrefixes(const std::string& test_name); |
| protected: |
| @@ -128,6 +129,17 @@ |
| class PPAPINaClTest : public PPAPITestBase { |
| public: |
| virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE; |
| + // PPAPITestBase: |
|
raymes
2014/02/19 23:47:08
nit: // PPAPITestBase overrides.
|
| + virtual void RunTest(const std::string& test_case) OVERRIDE; |
| + virtual void RunTestAndReload(const std::string& test_case) OVERRIDE; |
| + virtual void RunTestViaHTTP(const std::string& test_case) OVERRIDE; |
| + virtual void RunTestWithSSLServer(const std::string& test_case) OVERRIDE; |
| + virtual void RunTestWithWebSocketServer( |
| + const std::string& test_case) OVERRIDE; |
| + virtual void RunTestIfAudioOutputAvailable( |
| + const std::string& test_case) OVERRIDE; |
| + virtual void RunTestViaHTTPIfAudioOutputAvailable( |
| + const std::string& test_case) OVERRIDE; |
| }; |
| // NaCl plugin test runner for Newlib runtime. |