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 BASE_TEST_TEST_SUITE_H_ | 5 #ifndef BASE_TEST_TEST_SUITE_H_ |
6 #define BASE_TEST_TEST_SUITE_H_ | 6 #define BASE_TEST_TEST_SUITE_H_ |
7 | 7 |
8 // Defines a basic test suite framework for running gtest based tests. You can | 8 // Defines a basic test suite framework for running gtest based tests. You can |
9 // instantiate this class in your main function and call its Run method to run | 9 // instantiate this class in your main function and call its Run method to run |
10 // any gtest based tests that are linked into your executable. | 10 // any gtest based tests that are linked into your executable. |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 | 83 |
84 test::TraceToFile trace_to_file_; | 84 test::TraceToFile trace_to_file_; |
85 | 85 |
86 bool initialized_command_line_; | 86 bool initialized_command_line_; |
87 | 87 |
88 DISALLOW_COPY_AND_ASSIGN(TestSuite); | 88 DISALLOW_COPY_AND_ASSIGN(TestSuite); |
89 }; | 89 }; |
90 | 90 |
91 } // namespace base | 91 } // namespace base |
92 | 92 |
93 // TODO(brettw) remove this. This is a temporary hack to allow WebKit to compile | |
94 // until we can update it to use "base::" (preventing a two-sided patch). | |
95 using base::TestSuite; | |
96 | |
97 #endif // BASE_TEST_TEST_SUITE_H_ | 93 #endif // BASE_TEST_TEST_SUITE_H_ |
OLD | NEW |