OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #pragma once | 7 #pragma once |
8 | 8 |
9 // Defines a basic test suite framework for running gtest based tests. You can | 9 // Defines a basic test suite framework for running gtest based tests. You can |
10 // instantiate this class in your main function and call its Run method to run | 10 // instantiate this class in your main function and call its Run method to run |
11 // any gtest based tests that are linked into your executable. | 11 // any gtest based tests that are linked into your executable. |
12 | 12 |
13 #include "base/at_exit.h" | 13 #include "base/at_exit.h" |
14 #include "base/base_paths.h" | 14 #include "base/base_paths.h" |
15 #include "base/debug_on_start.h" | 15 #include "base/debug_on_start.h" |
16 #include "base/debug_util.h" | 16 #include "base/debug_util.h" |
| 17 #include "base/file_path.h" |
17 #include "base/i18n/icu_util.h" | 18 #include "base/i18n/icu_util.h" |
18 #include "base/multiprocess_test.h" | 19 #include "base/multiprocess_test.h" |
19 #include "base/nss_util.h" | 20 #include "base/nss_util.h" |
20 #include "base/path_service.h" | 21 #include "base/path_service.h" |
21 #include "base/process_util.h" | 22 #include "base/process_util.h" |
22 #include "base/scoped_nsautorelease_pool.h" | 23 #include "base/scoped_nsautorelease_pool.h" |
23 #include "base/scoped_ptr.h" | 24 #include "base/scoped_ptr.h" |
24 #include "base/time.h" | 25 #include "base/time.h" |
25 #include "testing/gtest/include/gtest/gtest.h" | 26 #include "testing/gtest/include/gtest/gtest.h" |
26 #include "testing/multiprocess_func_list.h" | 27 #include "testing/multiprocess_func_list.h" |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 | 257 |
257 virtual void Shutdown() { | 258 virtual void Shutdown() { |
258 } | 259 } |
259 | 260 |
260 // Make sure that we setup an AtExitManager so Singleton objects will be | 261 // Make sure that we setup an AtExitManager so Singleton objects will be |
261 // destroyed. | 262 // destroyed. |
262 base::AtExitManager at_exit_manager_; | 263 base::AtExitManager at_exit_manager_; |
263 }; | 264 }; |
264 | 265 |
265 #endif // BASE_TEST_TEST_SUITE_H_ | 266 #endif // BASE_TEST_TEST_SUITE_H_ |
OLD | NEW |