| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_TEST_UI_PPAPI_UITEST_H_ | 5 #ifndef CHROME_TEST_UI_PPAPI_UITEST_H_ |
| 6 #define CHROME_TEST_UI_PPAPI_UITEST_H_ | 6 #define CHROME_TEST_UI_PPAPI_UITEST_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 | 61 |
| 62 // Variant of PPAPITest that runs plugins out-of-process to test proxy | 62 // Variant of PPAPITest that runs plugins out-of-process to test proxy |
| 63 // codepaths. | 63 // codepaths. |
| 64 class OutOfProcessPPAPITest : public PPAPITest { | 64 class OutOfProcessPPAPITest : public PPAPITest { |
| 65 public: | 65 public: |
| 66 OutOfProcessPPAPITest(); | 66 OutOfProcessPPAPITest(); |
| 67 | 67 |
| 68 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE; | 68 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE; |
| 69 }; | 69 }; |
| 70 | 70 |
| 71 // NaCl plugin test runner. | 71 // NaCl plugin test runner for Newlib runtime. |
| 72 class PPAPINaClTest : public PPAPITestBase { | 72 class PPAPINaClTest : public PPAPITestBase { |
| 73 public: | 73 public: |
| 74 PPAPINaClTest(); | 74 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE; |
| 75 }; |
| 75 | 76 |
| 76 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE; | 77 // NaCl plugin test runner for Newlib runtime. |
| 78 class PPAPINaClNewlibTest : public PPAPINaClTest { |
| 79 public: |
| 80 virtual std::string BuildQuery(const std::string& base, |
| 81 const std::string& test_case) OVERRIDE; |
| 82 }; |
| 77 | 83 |
| 84 // NaCl plugin test runner for GNU-libc runtime. |
| 85 class PPAPINaClGLibcTest : public PPAPINaClTest { |
| 86 public: |
| 78 virtual std::string BuildQuery(const std::string& base, | 87 virtual std::string BuildQuery(const std::string& base, |
| 79 const std::string& test_case) OVERRIDE; | 88 const std::string& test_case) OVERRIDE; |
| 80 }; | 89 }; |
| 81 | 90 |
| 82 class PPAPINaClTestDisallowedSockets : public PPAPITestBase { | 91 class PPAPINaClTestDisallowedSockets : public PPAPITestBase { |
| 83 public: | 92 public: |
| 84 PPAPINaClTestDisallowedSockets(); | |
| 85 | |
| 86 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE; | 93 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE; |
| 87 | 94 |
| 88 virtual std::string BuildQuery(const std::string& base, | 95 virtual std::string BuildQuery(const std::string& base, |
| 89 const std::string& test_case) OVERRIDE; | 96 const std::string& test_case) OVERRIDE; |
| 90 }; | 97 }; |
| 91 | 98 |
| 92 #endif // CHROME_TEST_UI_PPAPI_UITEST_H_ | 99 #endif // CHROME_TEST_UI_PPAPI_UITEST_H_ |
| OLD | NEW |