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_NACL_NACL_BROWSERTEST_UTIL_H_ | 5 #ifndef CHROME_TEST_NACL_NACL_BROWSERTEST_UTIL_H_ |
6 #define CHROME_TEST_NACL_NACL_BROWSERTEST_UTIL_H_ | 6 #define CHROME_TEST_NACL_NACL_BROWSERTEST_UTIL_H_ |
7 | 7 |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "chrome/test/base/in_process_browser_test.h" | 10 #include "chrome/test/base/in_process_browser_test.h" |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 virtual base::FilePath::StringType Variant() OVERRIDE; | 116 virtual base::FilePath::StringType Variant() OVERRIDE; |
117 }; | 117 }; |
118 | 118 |
119 class NaClBrowserTestPnacl : public NaClBrowserTestBase { | 119 class NaClBrowserTestPnacl : public NaClBrowserTestBase { |
120 public: | 120 public: |
121 virtual base::FilePath::StringType Variant() OVERRIDE; | 121 virtual base::FilePath::StringType Variant() OVERRIDE; |
122 | 122 |
123 virtual bool IsAPnaclTest() OVERRIDE; | 123 virtual bool IsAPnaclTest() OVERRIDE; |
124 }; | 124 }; |
125 | 125 |
| 126 class NaClBrowserTestPnaclNonSfi : public NaClBrowserTestBase { |
| 127 public: |
| 128 virtual base::FilePath::StringType Variant() OVERRIDE; |
| 129 virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE; |
| 130 }; |
| 131 |
126 // Class used to test that when --disable-pnacl is specified the PNaCl mime | 132 // Class used to test that when --disable-pnacl is specified the PNaCl mime |
127 // type is not available. | 133 // type is not available. |
128 class NaClBrowserTestPnaclDisabled : public NaClBrowserTestBase { | 134 class NaClBrowserTestPnaclDisabled : public NaClBrowserTestBase { |
129 public: | 135 public: |
130 virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE; | 136 virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE; |
131 | 137 |
132 virtual base::FilePath::StringType Variant() OVERRIDE; | 138 virtual base::FilePath::StringType Variant() OVERRIDE; |
133 | 139 |
134 virtual bool IsAPnaclTest() OVERRIDE; | 140 virtual bool IsAPnaclTest() OVERRIDE; |
135 | 141 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 IN_PROC_BROWSER_TEST_F(suite##Newlib, name) \ | 180 IN_PROC_BROWSER_TEST_F(suite##Newlib, name) \ |
175 body \ | 181 body \ |
176 IN_PROC_BROWSER_TEST_F(suite##GLibc, name) \ | 182 IN_PROC_BROWSER_TEST_F(suite##GLibc, name) \ |
177 body \ | 183 body \ |
178 IN_PROC_BROWSER_TEST_F(suite##Pnacl, MAYBE_PNACL(name)) \ | 184 IN_PROC_BROWSER_TEST_F(suite##Pnacl, MAYBE_PNACL(name)) \ |
179 body | 185 body |
180 | 186 |
181 #endif | 187 #endif |
182 | 188 |
183 #endif // CHROME_TEST_NACL_NACL_BROWSERTEST_UTIL_H_ | 189 #endif // CHROME_TEST_NACL_NACL_BROWSERTEST_UTIL_H_ |
OLD | NEW |