| 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();
|
| }
|
|
|