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 CONTENT_PUBLIC_TEST_BROWSER_TEST_BASE_H_ | 5 #ifndef CONTENT_PUBLIC_TEST_BROWSER_TEST_BASE_H_ |
6 #define CONTENT_PUBLIC_TEST_BROWSER_TEST_BASE_H_ | 6 #define CONTENT_PUBLIC_TEST_BROWSER_TEST_BASE_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/threading/thread.h" | 10 #include "base/threading/thread.h" |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 // Expected exit code (default is 0). | 145 // Expected exit code (default is 0). |
146 int expected_exit_code_; | 146 int expected_exit_code_; |
147 | 147 |
148 // When true, the compositor will produce pixel output that can be read back | 148 // When true, the compositor will produce pixel output that can be read back |
149 // for pixel tests. | 149 // for pixel tests. |
150 bool enable_pixel_output_; | 150 bool enable_pixel_output_; |
151 | 151 |
152 // When true, do compositing with the software backend instead of using GL. | 152 // When true, do compositing with the software backend instead of using GL. |
153 bool use_software_compositing_; | 153 bool use_software_compositing_; |
154 | 154 |
| 155 // Whether SetUp was called. This value is checked in the destructor of this |
| 156 // class to ensure that SetUp was called. If it's not called, the test will |
| 157 // not run and report a false positive result. |
| 158 bool set_up_called_; |
| 159 |
155 #if defined(OS_POSIX) | 160 #if defined(OS_POSIX) |
156 bool handle_sigterm_; | 161 bool handle_sigterm_; |
157 #endif | 162 #endif |
158 }; | 163 }; |
159 | 164 |
160 } // namespace content | 165 } // namespace content |
161 | 166 |
162 #endif // CONTENT_PUBLIC_TEST_BROWSER_TEST_BASE_H_ | 167 #endif // CONTENT_PUBLIC_TEST_BROWSER_TEST_BASE_H_ |
OLD | NEW |