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

Unified Diff: base/test/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/parallel_test_launcher.h ('k') | base/test/unit_test_launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/test_launcher.cc
diff --git a/base/test/test_launcher.cc b/base/test/test_launcher.cc
index 70663be26824cfb721ed9b04cb9ffe03a7b6e990..053bdbf8b5c8833a0c7406d3168b132e1d6c0377 100644
--- a/base/test/test_launcher.cc
+++ b/base/test/test_launcher.cc
@@ -219,6 +219,8 @@ class ResultsPrinter {
void PrintTestsByStatus(TestResult::Status status,
const std::string& description);
+ ThreadChecker thread_checker_;
+
// Test results grouped by test case name.
typedef std::map<std::string, std::vector<TestResult> > ResultsMap;
ResultsMap results_;
@@ -237,8 +239,6 @@ class ResultsPrinter {
RunTestsCallback callback_;
- ThreadChecker thread_checker_;
-
WeakPtrFactory<ResultsPrinter> weak_ptr_;
DISALLOW_COPY_AND_ASSIGN(ResultsPrinter);
« no previous file with comments | « base/test/parallel_test_launcher.h ('k') | base/test/unit_test_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698