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

Unified Diff: tests/standalone/io/test_runner_exit_code_script.dart

Issue 11348088: Changed: TestCase.output -> TestCase.commandOutputs[] (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | « no previous file | tests/standalone/io/test_runner_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/test_runner_exit_code_script.dart
diff --git a/tests/standalone/io/test_runner_exit_code_script.dart b/tests/standalone/io/test_runner_exit_code_script.dart
index 87807ab446df2091c8beaa82c5a5b6b24675d0b7..f137022cf2056340ae79dc398f5e401f4771e5b8 100644
--- a/tests/standalone/io/test_runner_exit_code_script.dart
+++ b/tests/standalone/io/test_runner_exit_code_script.dart
@@ -16,17 +16,19 @@ main() {
new ProgressIndicator.fromName(progressType, startTime, false);
// Build a dummy test case.
var configuration = new TestOptionsParser().parse(['--timeout', '2'])[0];
+ var dummyCommand = new Command("noop", []);
var testCase = new TestCase('failing_test.dart',
- [],
+ [dummyCommand],
configuration,
(_) => null,
new Set<String>.from(['PASS']));
+
// Simulate the test.dart use of the progress indicator.
progress.testAdded();
progress.allTestsKnown();
progress.start(testCase);
- new TestOutput.fromCase(testCase, 1, false, false, [], [],
- new Date.now().difference(startTime));
+ new CommandOutput.fromCase(testCase, dummyCommand, 1, false, false, [], [],
+ new Date.now().difference(startTime));
progress.done(testCase);
progress.allDone();
}
« no previous file with comments | « no previous file | tests/standalone/io/test_runner_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698