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

Unified Diff: base/test/unit_test_launcher.cc

Issue 24398002: GTTF: instantiate ThreadChecker early in the test launcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/test/test_launcher.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/unit_test_launcher.cc
diff --git a/base/test/unit_test_launcher.cc b/base/test/unit_test_launcher.cc
index aeddde149ce7d290a2b2addddc822a1fa386bc32..af2998aa816cb7514479d8426bba50c12968fc4e 100644
--- a/base/test/unit_test_launcher.cc
+++ b/base/test/unit_test_launcher.cc
@@ -285,14 +285,14 @@ class UnitTestLauncherDelegate : public TestLauncherDelegate {
return called_any_callback;
}
+ ThreadChecker thread_checker_;
+
ParallelTestLauncher parallel_launcher_;
// Maximum number of tests to run in a single batch.
size_t batch_limit_;
std::vector<TestLaunchInfo> tests_;
-
- ThreadChecker thread_checker_;
};
bool GetSwitchValueAsInt(const std::string& switch_name, int* result) {
« no previous file with comments | « base/test/test_launcher.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698