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

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

Issue 11575028: Moved the testing scripts to the new import/library/part syntax (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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_options.dart ('k') | tools/testing/dart/test_runner.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 #library("test_progress"); 5 library test_progress;
6 6
7 #import("dart:io"); 7 import "dart:io";
8 #import("test_runner.dart"); 8 import "test_runner.dart";
9 #import("test_suite.dart"); 9 import "test_suite.dart";
10 #import("status_file_parser.dart"); 10 import "status_file_parser.dart";
11 11
12 class ProgressIndicator { 12 class ProgressIndicator {
13 ProgressIndicator(this._startTime, this._printTiming) 13 ProgressIndicator(this._startTime, this._printTiming)
14 : _tests = [], _failureSummary = []; 14 : _tests = [], _failureSummary = [];
15 15
16 factory ProgressIndicator.fromName(String name, 16 factory ProgressIndicator.fromName(String name,
17 Date startTime, 17 Date startTime,
18 bool printTiming) { 18 bool printTiming) {
19 switch (name) { 19 switch (name) {
20 case 'compact': 20 case 'compact':
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 print(''); 477 print('');
478 print('$config:'); 478 print('$config:');
479 statuses.sort((a, b) => a.compareTo(b)); 479 statuses.sort((a, b) => a.compareTo(b));
480 for (String status in statuses) { 480 for (String status in statuses) {
481 print(' $status'); 481 print(' $status');
482 } 482 }
483 }); 483 });
484 _printStatus(); 484 _printStatus();
485 } 485 }
486 } 486 }
OLDNEW
« no previous file with comments | « tools/testing/dart/test_options.dart ('k') | tools/testing/dart/test_runner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698