| Index: chrome/test/ppapi/ppapi_test.h
|
| ===================================================================
|
| --- chrome/test/ppapi/ppapi_test.h (revision 252192)
|
| +++ chrome/test/ppapi/ppapi_test.h (working copy)
|
| @@ -49,15 +49,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:
|
| @@ -129,6 +130,17 @@
|
| class PPAPINaClTest : public PPAPITestBase {
|
| public:
|
| virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE;
|
| + // 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.
|
|
|