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_PPAPI_PPAPI_TEST_H_ | 5 #ifndef CHROME_TEST_PPAPI_PPAPI_TEST_H_ |
6 #define CHROME_TEST_PPAPI_PPAPI_TEST_H_ | 6 #define CHROME_TEST_PPAPI_PPAPI_TEST_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 | 176 |
177 // Test Non-SFI Mode, using PNaCl toolchain to produce nexes. | 177 // Test Non-SFI Mode, using PNaCl toolchain to produce nexes. |
178 class PPAPINaClPNaClNonSfiTest : public PPAPINaClTest { | 178 class PPAPINaClPNaClNonSfiTest : public PPAPINaClTest { |
179 public: | 179 public: |
180 virtual void SetUpCommandLine(base::CommandLine* command_line); | 180 virtual void SetUpCommandLine(base::CommandLine* command_line); |
181 | 181 |
182 virtual std::string BuildQuery(const std::string& base, | 182 virtual std::string BuildQuery(const std::string& base, |
183 const std::string& test_case) override; | 183 const std::string& test_case) override; |
184 }; | 184 }; |
185 | 185 |
| 186 // TODO(hidehiko): Switch for NonSfi tests to use nacl_helper_nonsfi, when |
| 187 // it is launched officially. See NaClBrowserTestPnaclTransitionalNonSfi |
| 188 // for more details. |
| 189 class PPAPINaClPNaClTransitionalNonSfiTest : public PPAPINaClPNaClNonSfiTest { |
| 190 public: |
| 191 virtual void SetUpCommandLine(base::CommandLine* command_line) override; |
| 192 }; |
| 193 |
186 class PPAPIPrivateNaClPNaClNonSfiTest : public PPAPINaClPNaClNonSfiTest { | 194 class PPAPIPrivateNaClPNaClNonSfiTest : public PPAPINaClPNaClNonSfiTest { |
187 protected: | 195 protected: |
188 virtual void SetUpCommandLine(base::CommandLine* command_line) override; | 196 virtual void SetUpCommandLine(base::CommandLine* command_line) override; |
189 }; | 197 }; |
190 | 198 |
| 199 // TODO(hidehiko): Switch for NonSfi tests to use nacl_helper_nonsfi, when |
| 200 // it is launched officially. See NaClBrowserTestPnaclTransitionalNonSfi |
| 201 // for more details. |
| 202 class PPAPIPrivateNaClPNaClTransitionalNonSfiTest |
| 203 : public PPAPIPrivateNaClPNaClNonSfiTest { |
| 204 protected: |
| 205 virtual void SetUpCommandLine(base::CommandLine* command_line) override; |
| 206 }; |
| 207 |
| 208 |
191 class PPAPINaClTestDisallowedSockets : public PPAPITestBase { | 209 class PPAPINaClTestDisallowedSockets : public PPAPITestBase { |
192 public: | 210 public: |
193 virtual void SetUpCommandLine(base::CommandLine* command_line) override; | 211 virtual void SetUpCommandLine(base::CommandLine* command_line) override; |
194 | 212 |
195 virtual std::string BuildQuery(const std::string& base, | 213 virtual std::string BuildQuery(const std::string& base, |
196 const std::string& test_case) override; | 214 const std::string& test_case) override; |
197 }; | 215 }; |
198 | 216 |
199 class PPAPIBrokerInfoBarTest : public OutOfProcessPPAPITest { | 217 class PPAPIBrokerInfoBarTest : public OutOfProcessPPAPITest { |
200 public: | 218 public: |
201 // PPAPITestBase override: | 219 // PPAPITestBase override: |
202 virtual void SetUpOnMainThread() override; | 220 virtual void SetUpOnMainThread() override; |
203 }; | 221 }; |
204 | 222 |
205 #endif // CHROME_TEST_PPAPI_PPAPI_TEST_H_ | 223 #endif // CHROME_TEST_PPAPI_PPAPI_TEST_H_ |
OLD | NEW |