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

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

Issue 14047011: Fix type error in test scripts (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase Created 7 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 | « no previous file | no next file » | 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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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_progress; 5 library test_progress;
6 6
7 import "dart:io"; 7 import "dart:io";
8 import "dart:io" as io; 8 import "dart:io" as io;
9 import "http_server.dart" as http_server; 9 import "http_server.dart" as http_server;
10 import "status_file_parser.dart"; 10 import "status_file_parser.dart";
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 onDone: () { 303 onDone: () {
304 if (count > MIN_NUMBER_OF_TEMP_DIRS) { 304 if (count > MIN_NUMBER_OF_TEMP_DIRS) {
305 DebugLogger.warning("There are ${count} directories " 305 DebugLogger.warning("There are ${count} directories "
306 "in the system tempdir ('$systemTempDir')! " 306 "in the system tempdir ('$systemTempDir')! "
307 "Maybe left over directories?\n"); 307 "Maybe left over directories?\n");
308 } 308 }
309 }); 309 });
310 } 310 }
311 } 311 }
312 312
313 class LineProgressIndicator extends EventListener { 313 class LineProgressIndicator extends EventListener implements ProgressIndicator {
314 void done(TestCase test) { 314 void done(TestCase test) {
315 var status = 'pass'; 315 var status = 'pass';
316 if (test.lastCommandOutput.unexpectedOutput) { 316 if (test.lastCommandOutput.unexpectedOutput) {
317 status = 'fail'; 317 status = 'fail';
318 } 318 }
319 print('Done ${test.configurationString} ${test.displayName}: $status'); 319 print('Done ${test.configurationString} ${test.displayName}: $status');
320 } 320 }
321 } 321 }
322 322
323 class TestFailurePrinter extends EventListener { 323 class TestFailurePrinter extends EventListener {
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 print('@@@BUILD_STEP $stepName failures@@@'); 517 print('@@@BUILD_STEP $stepName failures@@@');
518 } 518 }
519 for (String line in _failureSummary) { 519 for (String line in _failureSummary) {
520 print(line); 520 print(line);
521 } 521 }
522 print(''); 522 print('');
523 } 523 }
524 super.allDone(); 524 super.allDone();
525 } 525 }
526 } 526 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698