| 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 PPAPINaClTest(); |
| 75 | 75 |
| 76 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE; | 76 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE; |
| 77 }; |
| 78 |
| 79 // NaCl plugin test runner for Newlib runtime. |
| 80 class PPAPINaClNewlibTest : public PPAPINaClTest { |
| 81 public: |
| 82 PPAPINaClNewlibTest(); |
| 77 | 83 |
| 78 virtual std::string BuildQuery(const std::string& base, | 84 virtual std::string BuildQuery(const std::string& base, |
| 79 const std::string& test_case) OVERRIDE; | 85 const std::string& test_case) OVERRIDE; |
| 86 }; |
| 87 |
| 88 // NaCl plugin test runner for GNU-libc runtime. |
| 89 class PPAPINaClGLibcTest : public PPAPINaClTest { |
| 90 public: |
| 91 PPAPINaClGLibcTest(); |
| 92 |
| 93 virtual std::string BuildQuery(const std::string& base, |
| 94 const std::string& test_case) OVERRIDE; |
| 80 }; | 95 }; |
| 81 | 96 |
| 82 class PPAPINaClTestDisallowedSockets : public PPAPITestBase { | 97 class PPAPINaClTestDisallowedSockets : public PPAPITestBase { |
| 83 public: | 98 public: |
| 84 PPAPINaClTestDisallowedSockets(); | 99 PPAPINaClTestDisallowedSockets(); |
| 85 | 100 |
| 86 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE; | 101 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE; |
| 87 | 102 |
| 88 virtual std::string BuildQuery(const std::string& base, | 103 virtual std::string BuildQuery(const std::string& base, |
| 89 const std::string& test_case) OVERRIDE; | 104 const std::string& test_case) OVERRIDE; |
| 90 }; | 105 }; |
| 91 | 106 |
| 92 #endif // CHROME_TEST_UI_PPAPI_UITEST_H_ | 107 #endif // CHROME_TEST_UI_PPAPI_UITEST_H_ |
| OLD | NEW |