Chromium Code Reviews| 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..4ce3d197df751b71b9238ff2dab6918a73ffe114 100644 |
| --- a/tests/standalone/io/test_runner_exit_code_script.dart |
| +++ b/tests/standalone/io/test_runner_exit_code_script.dart |
| @@ -16,16 +16,18 @@ 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 CommandOutput.fromCase(testCase, dummyCommand, 1, false, false, [], [], |
| new Date.now().difference(startTime)); |
|
ricow1
2012/11/14 16:59:53
indentation
kustermann
2012/11/14 17:41:22
Done.
|
| progress.done(testCase); |
| progress.allDone(); |