OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 /** | 5 /** |
6 * Classes and methods for executing tests. | 6 * Classes and methods for executing tests. |
7 * | 7 * |
8 * This module includes: | 8 * This module includes: |
9 * - Managing parallel execution of tests, including timeout checks. | 9 * - Managing parallel execution of tests, including timeout checks. |
10 * - Evaluating the output of each test as pass/fail/crash/timeout. | 10 * - Evaluating the output of each test as pass/fail/crash/timeout. |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 | 182 |
183 String get result(); | 183 String get result(); |
184 | 184 |
185 bool get unexpectedOutput(); | 185 bool get unexpectedOutput(); |
186 | 186 |
187 bool get hasCrashed(); | 187 bool get hasCrashed(); |
188 | 188 |
189 bool get hasTimedOut(); | 189 bool get hasTimedOut(); |
190 | 190 |
191 bool get didFail(); | 191 bool get didFail(); |
| 192 |
| 193 bool requestRetry; |
192 | 194 |
193 Duration get time(); | 195 Duration get time(); |
194 | 196 |
195 List<String> get stdout(); | 197 List<String> get stdout(); |
196 | 198 |
197 List<String> get stderr(); | 199 List<String> get stderr(); |
198 | 200 |
199 List<String> get diagnostics(); | 201 List<String> get diagnostics(); |
200 } | 202 } |
201 | 203 |
(...skipping 956 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1158 // the developer doesn't waste his or her time trying to fix a bunch of | 1160 // the developer doesn't waste his or her time trying to fix a bunch of |
1159 // tests that appear to be broken but were actually just flakes that | 1161 // tests that appear to be broken but were actually just flakes that |
1160 // didn't get retried because there had already been one failure. | 1162 // didn't get retried because there had already been one failure. |
1161 bool allowRetry = _MAX_FAILED_NO_RETRY > _progress.numFailedTests; | 1163 bool allowRetry = _MAX_FAILED_NO_RETRY > _progress.numFailedTests; |
1162 new RunningProcess(test, allowRetry, this).start(); | 1164 new RunningProcess(test, allowRetry, this).start(); |
1163 } | 1165 } |
1164 _numProcesses++; | 1166 _numProcesses++; |
1165 } | 1167 } |
1166 } | 1168 } |
1167 } | 1169 } |
OLD | NEW |