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

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

Issue 2494133002: Fix a data race in multiple unit tests processes. (Closed)
Patch Set: fix logger test Created 4 years, 1 month 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
« no previous file with comments | « base/test/test_suite.cc ('k') | base/test/test_support_android.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) 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_SUPPORT_ANDROID_H_ 5 #ifndef BASE_TEST_TEST_SUPPORT_ANDROID_H_
6 #define BASE_TEST_TEST_SUPPORT_ANDROID_H_ 6 #define BASE_TEST_TEST_SUPPORT_ANDROID_H_
7 7
8 #include "base/base_export.h" 8 #include "base/base_export.h"
9 9
10 namespace base { 10 namespace base {
11 11
12 class FilePath; 12 class FilePath;
13 13
14 // Init logging for tests on Android. Logs will be output into Android's logcat. 14 // Init logging for tests on Android. Logs will be output into Android's logcat.
15 BASE_EXPORT void InitAndroidTestLogging(); 15 BASE_EXPORT void InitAndroidTestLogging();
16 16
17 // Init path providers for tests on Android. 17 // Init path providers for tests on Android.
18 BASE_EXPORT void InitAndroidTestPaths(const FilePath& test_data_dir); 18 BASE_EXPORT void InitAndroidTestPaths(const FilePath& test_data_dir);
19 19
20 // Init the message loop for tests on Android. 20 // Init the message loop for tests on Android.
21 BASE_EXPORT void InitAndroidTestMessageLoop(); 21 BASE_EXPORT void InitAndroidTestMessageLoop();
22 22
23 // Do all of the initializations above.
24 BASE_EXPORT void InitAndroidTest();
25
26 } // namespace base 23 } // namespace base
27 24
28 #endif // BASE_TEST_TEST_SUPPORT_ANDROID_H_ 25 #endif // BASE_TEST_TEST_SUPPORT_ANDROID_H_
OLDNEW
« no previous file with comments | « base/test/test_suite.cc ('k') | base/test/test_support_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698