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

Unified Diff: base/test/parallel_test_launcher.h

Issue 24892002: GTTF: Fix handling of PRE_ tests (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 | « no previous file | base/test/parallel_test_launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/parallel_test_launcher.h
diff --git a/base/test/parallel_test_launcher.h b/base/test/parallel_test_launcher.h
index 6d9d228bcfae2ab1ab5288c76c5e750270423cb3..af73c0183d993d5c27504a4c1b68ee929600e24c 100644
--- a/base/test/parallel_test_launcher.h
+++ b/base/test/parallel_test_launcher.h
@@ -9,7 +9,6 @@
#include <string>
#include "base/callback.h"
-#include "base/threading/sequenced_worker_pool.h"
#include "base/threading/thread_checker.h"
#include "base/time/time.h"
#include "base/timer/timer.h"
@@ -19,7 +18,6 @@ class CommandLine;
namespace base {
class SequencedWorkerPoolOwner;
-class Timer;
// Launches child gtest process in parallel. Keeps track of running processes,
// prints a message in case no output is produced for a while.
@@ -46,28 +44,12 @@ class ParallelTestLauncher {
base::TimeDelta timeout,
const LaunchChildGTestProcessCallback& callback);
- // Similar to above, but with processes sharing the same value of |token_name|
- // being serialized, with order matching order of calls of this method.
- void LaunchNamedSequencedChildGTestProcess(
- const std::string& token_name,
- const CommandLine& command_line,
- const std::string& wrapper,
- base::TimeDelta timeout,
- const LaunchChildGTestProcessCallback& callback);
-
// Resets the output watchdog, indicating some test results have been printed
// out. If a pause between the calls exceeds an internal treshold, a message
// will be printed listing all child processes we're still waiting for.
void ResetOutputWatchdog();
private:
- void LaunchSequencedChildGTestProcess(
- SequencedWorkerPool::SequenceToken sequence_token,
- const CommandLine& command_line,
- const std::string& wrapper,
- base::TimeDelta timeout,
- const LaunchChildGTestProcessCallback& callback);
-
// Called on a worker thread after a child process finishes.
void OnLaunchTestProcessFinished(
size_t sequence_number,
« no previous file with comments | « no previous file | base/test/parallel_test_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698