Chromium Code Reviews| Index: chrome/test/ppapi/ppapi_test.h |
| =================================================================== |
| --- chrome/test/ppapi/ppapi_test.h (revision 251733) |
| +++ chrome/test/ppapi/ppapi_test.h (working copy) |
| @@ -52,12 +52,13 @@ |
| void RunTest(const std::string& test_case); |
|
raymes
2014/02/18 23:20:08
I think RunTest should be overridden as well.
Alexander Potapenko
2014/02/19 13:47:02
Done.
|
| // 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: |
| @@ -129,6 +130,16 @@ |
| class PPAPINaClTest : public PPAPITestBase { |
| public: |
| virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE; |
| + // PPAPITestBase: |
| + 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. |