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

Side by Side Diff: tools/testing/dart/test_runner.dart

Issue 10001006: Fix some type warnings in the test scripts, that show up when using the editor. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 months 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/testing/dart/test_progress.dart ('k') | tools/testing/dart/test_suite.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « tools/testing/dart/test_progress.dart ('k') | tools/testing/dart/test_suite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698