Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #library("test_runner"); | 5 #library("test_runner"); |
| 6 | 6 |
| 7 #import("status_file_parser.dart"); | 7 #import("status_file_parser.dart"); |
| 8 #import("test_progress.dart"); | 8 #import("test_progress.dart"); |
| 9 #import("test_suite.dart"); | 9 #import("test_suite.dart"); |
| 10 | 10 |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 69 var suffixSplit = suffix.split(' '); | 69 var suffixSplit = suffix.split(' '); |
| 70 suffixSplit.forEach((e) { | 70 suffixSplit.forEach((e) { |
| 71 if (!e.isEmpty()) newArguments.add(e); | 71 if (!e.isEmpty()) newArguments.add(e); |
| 72 }); | 72 }); |
| 73 arguments = newArguments; | 73 arguments = newArguments; |
| 74 } | 74 } |
| 75 } | 75 } |
| 76 | 76 |
| 77 int get timeout() => configuration['timeout']; | 77 int get timeout() => configuration['timeout']; |
| 78 | 78 |
| 79 String get configurationString() => | |
| 80 configuration['mode'] + configuration['arch']; | |
|
Mads Ager (google)
2012/01/19 13:05:23
Sorry, this is a little late, but don't you want a
Ivan Posva
2012/01/19 17:04:45
As the bug reporter all I want is some indication
| |
| 81 | |
| 79 void completed() { completedHandler(this); } | 82 void completed() { completedHandler(this); } |
| 80 } | 83 } |
| 81 | 84 |
| 82 | 85 |
| 83 /** | 86 /** |
| 84 * BrowserTestCase has an extra compilation command that is run by | 87 * BrowserTestCase has an extra compilation command that is run by |
| 85 * RunningProcess.start(), and it checks conditions on the test output | 88 * RunningProcess.start(), and it checks conditions on the test output |
| 86 * in TestOutput.didFail(). | 89 * in TestOutput.didFail(). |
| 87 */ | 90 */ |
| 88 class BrowserTestCase extends TestCase { | 91 class BrowserTestCase extends TestCase { |
| (...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 540 test.displayName != 'dartc/junit_tests') { | 543 test.displayName != 'dartc/junit_tests') { |
| 541 _ensureDartcBatchRunnersStarted(test.executablePath); | 544 _ensureDartcBatchRunnersStarted(test.executablePath); |
| 542 _getDartcBatchRunnerProcess().startTest(test); | 545 _getDartcBatchRunnerProcess().startTest(test); |
| 543 } else { | 546 } else { |
| 544 new RunningProcess(test).start(); | 547 new RunningProcess(test).start(); |
| 545 } | 548 } |
| 546 _numProcesses++; | 549 _numProcesses++; |
| 547 } | 550 } |
| 548 } | 551 } |
| 549 } | 552 } |
| OLD | NEW |