| 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/file_path.h" | 8 #include "base/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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 class NaClBrowserTestNewlib : public NaClBrowserTestBase { | 102 class NaClBrowserTestNewlib : public NaClBrowserTestBase { |
| 103 public: | 103 public: |
| 104 virtual FilePath::StringType Variant() OVERRIDE; | 104 virtual FilePath::StringType Variant() OVERRIDE; |
| 105 }; | 105 }; |
| 106 | 106 |
| 107 class NaClBrowserTestGLibc : public NaClBrowserTestBase { | 107 class NaClBrowserTestGLibc : public NaClBrowserTestBase { |
| 108 public: | 108 public: |
| 109 virtual FilePath::StringType Variant() OVERRIDE; | 109 virtual FilePath::StringType Variant() OVERRIDE; |
| 110 }; | 110 }; |
| 111 | 111 |
| 112 class NaClBrowserTestPnaclNexe : public NaClBrowserTestBase { | |
| 113 public: | |
| 114 virtual FilePath::StringType Variant() OVERRIDE; | |
| 115 }; | |
| 116 | |
| 117 #define NACL_BROWSER_TEST_F(suite, name, body) \ | 112 #define NACL_BROWSER_TEST_F(suite, name, body) \ |
| 118 IN_PROC_BROWSER_TEST_F(suite##Newlib, name) \ | 113 IN_PROC_BROWSER_TEST_F(suite##Newlib, name) \ |
| 119 body \ | 114 body \ |
| 120 IN_PROC_BROWSER_TEST_F(suite##GLibc, name) \ | 115 IN_PROC_BROWSER_TEST_F(suite##GLibc, name) \ |
| 121 body \ | |
| 122 IN_PROC_BROWSER_TEST_F(suite##PnaclNexe, name) \ | |
| 123 body | 116 body |
| 124 | 117 |
| 125 #endif // CHROME_TEST_NACL_NACL_BROWSERTEST_UTIL_H_ | 118 #endif // CHROME_TEST_NACL_NACL_BROWSERTEST_UTIL_H_ |
| OLD | NEW |