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

Unified Diff: tests/standalone/src/TestRunnerTest.dart

Issue 8729030: Support batch running of dartc tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Minor cleanup Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/language/language.status ('k') | tools/testing/dart/test_runner.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/src/TestRunnerTest.dart
diff --git a/tests/standalone/src/TestRunnerTest.dart b/tests/standalone/src/TestRunnerTest.dart
index b7dc8ef5b645bafa8b3ef146459fa4fe2731b1e5..b5f1f99659988dcd2f2dfb5f3d90dd95407837ca 100644
--- a/tests/standalone/src/TestRunnerTest.dart
+++ b/tests/standalone/src/TestRunnerTest.dart
@@ -57,20 +57,18 @@ TestCase MakeTestCase(String testName, List<String> expectations) {
void main() {
int timeout = 2;
- new RunningProcess(MakeTestCase("PassTest", [PASS]), timeout).start();
- new RunningProcess(MakeTestCase("FailTest", [FAIL]), timeout).start();
- new RunningProcess(MakeTestCase("TimeoutTest", [TIMEOUT]), timeout).start();
+ new RunningProcess(MakeTestCase("PassTest", [PASS])).start();
+ new RunningProcess(MakeTestCase("FailTest", [FAIL])).start();
+ new RunningProcess(MakeTestCase("TimeoutTest", [TIMEOUT])).start();
new RunningProcess(new TestCase("CrashTest",
getProcessTestFileName(),
const ["0", "0", "1", "1"],
timeout,
TestController.processCompletedTest,
- new Set<String>.from([CRASH])),
- timeout).start();
+ new Set<String>.from([CRASH]))).start();
Expect.equals(4, TestController.numTests);
// Throw must be from body of start() function for this test to work.
- Expect.throws(
- new RunningProcess(MakeTestCase("PassTest", [SKIP]), timeout).start);
+ Expect.throws(new RunningProcess(MakeTestCase("PassTest", [SKIP])).start);
}
« no previous file with comments | « tests/language/language.status ('k') | tools/testing/dart/test_runner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698