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

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

Issue 8492013: Add asynchronous test suite runner to Dart rewrite of test scripts. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Respond to more comments. 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/corelib/test_config.dart ('k') | tests/standalone/test_config.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 5892bda005dc2ff5a2cea90abe6a72aa0ee71806..264e7344c31aa073f30343ac6c5d005936ea943a 100644
--- a/tests/standalone/src/TestRunnerTest.dart
+++ b/tests/standalone/src/TestRunnerTest.dart
@@ -44,7 +44,8 @@ TestCase MakeTestCase(String testName, List<String> expectations) {
test_path = "../tests/standalone/src/${testName}.dart";
}
- return new TestCase(getDartShellFileName(),
+ return new TestCase(testName,
+ getDartShellFileName(),
<String>["--ignore-unrecognized-flags",
"--enable_type_checks",
test_path],
@@ -73,7 +74,8 @@ void main() {
new RunningProcess(MakeTestCase("FailTest", [FAIL]), timeout).start();
new RunningProcess(MakeTestCase("TimeoutTest", [TIMEOUT]), timeout).start();
- new RunningProcess(new TestCase(getProcessTestFileName(),
+ new RunningProcess(new TestCase("CrashTest",
+ getProcessTestFileName(),
const ["0", "0", "1", "1"],
TestController.processCompletedTest,
new Set<String>.from([CRASH])),
« no previous file with comments | « tests/corelib/test_config.dart ('k') | tests/standalone/test_config.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698