Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Side by Side Diff: base/test/test_suite.h

Issue 449048: Move some XDG code from chrome to base. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix linux base_unittest Created 11 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/linux_util.cc ('k') | chrome/browser/process_singleton_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_SUITE_H_ 5 #ifndef BASE_TEST_SUITE_H_
6 #define BASE_TEST_SUITE_H_ 6 #define BASE_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.
11 11
12 #include "base/at_exit.h" 12 #include "base/at_exit.h"
13 #include "base/base_paths.h" 13 #include "base/base_paths.h"
14 #include "base/debug_on_start.h" 14 #include "base/debug_on_start.h"
15 #include "base/i18n/icu_util.h" 15 #include "base/i18n/icu_util.h"
16 #include "base/multiprocess_test.h" 16 #include "base/multiprocess_test.h"
17 #include "base/nss_init.h" 17 #include "base/nss_init.h"
18 #include "base/path_service.h"
18 #include "base/process_util.h" 19 #include "base/process_util.h"
19 #include "base/scoped_nsautorelease_pool.h" 20 #include "base/scoped_nsautorelease_pool.h"
20 #include "base/scoped_ptr.h" 21 #include "base/scoped_ptr.h"
21 #include "base/time.h" 22 #include "base/time.h"
22 #include "testing/gtest/include/gtest/gtest.h" 23 #include "testing/gtest/include/gtest/gtest.h"
23 #include "testing/multiprocess_func_list.h" 24 #include "testing/multiprocess_func_list.h"
24 25
25 #if defined(OS_LINUX) 26 #if defined(OS_LINUX)
26 #include <gtk/gtk.h> 27 #include <gtk/gtk.h>
27 #endif 28 #endif
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 213
213 virtual void Shutdown() { 214 virtual void Shutdown() {
214 } 215 }
215 216
216 // Make sure that we setup an AtExitManager so Singleton objects will be 217 // Make sure that we setup an AtExitManager so Singleton objects will be
217 // destroyed. 218 // destroyed.
218 base::AtExitManager at_exit_manager_; 219 base::AtExitManager at_exit_manager_;
219 }; 220 };
220 221
221 #endif // BASE_TEST_SUITE_H_ 222 #endif // BASE_TEST_SUITE_H_
OLDNEW
« no previous file with comments | « base/linux_util.cc ('k') | chrome/browser/process_singleton_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698