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

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

Issue 10035056: Fix a number of editor errors and warnings in io tests (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
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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 192
193 bool requestRetry; 193 bool requestRetry;
194 194
195 Duration get time(); 195 Duration get time();
196 196
197 int get exitCode();
198
197 List<String> get stdout(); 199 List<String> get stdout();
198 200
199 List<String> get stderr(); 201 List<String> get stderr();
200 202
201 List<String> get diagnostics(); 203 List<String> get diagnostics();
202 } 204 }
203 205
204 class TestOutputImpl implements TestOutput { 206 class TestOutputImpl implements TestOutput {
205 TestCase testCase; 207 TestCase testCase;
206 int exitCode; 208 int exitCode;
(...skipping 955 matching lines...) Expand 10 before | Expand all | Expand 10 after
1162 // the developer doesn't waste his or her time trying to fix a bunch of 1164 // the developer doesn't waste his or her time trying to fix a bunch of
1163 // tests that appear to be broken but were actually just flakes that 1165 // tests that appear to be broken but were actually just flakes that
1164 // didn't get retried because there had already been one failure. 1166 // didn't get retried because there had already been one failure.
1165 bool allowRetry = _MAX_FAILED_NO_RETRY > _progress.numFailedTests; 1167 bool allowRetry = _MAX_FAILED_NO_RETRY > _progress.numFailedTests;
1166 new RunningProcess(test, allowRetry, this).start(); 1168 new RunningProcess(test, allowRetry, this).start();
1167 } 1169 }
1168 _numProcesses++; 1170 _numProcesses++;
1169 } 1171 }
1170 } 1172 }
1171 } 1173 }
OLDNEW
« tests/standalone/src/io/ReadIntoConstList.dart ('K') | « tests/standalone/src/io/TestingServer.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698