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

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

Issue 841193003: cleanup to tools/testing/dart (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: one last bit Created 5 years, 11 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/lib/test_information.dart ('k') | tools/testing/dart/lib/test_utils.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) 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:async"; 7 import 'dart:async';
8 import "dart:io"; 8 import 'dart:convert' show JSON;
9 import "dart:io" as io; 9 import 'dart:io';
10 import "dart:convert" show JSON; 10 import 'dart:io' as io show exitCode;
11 import "path.dart"; 11
12 import "status_file_parser.dart"; 12 import 'command.dart';
13 import "test_runner.dart"; 13 import 'path.dart';
14 import "test_suite.dart"; 14 import 'status_file_parser.dart';
15 import "utils.dart"; 15 import 'summary_report.dart';
16 import 'test_case.dart';
17 import 'test_utils.dart';
18 import 'utils.dart';
16 19
17 String _pad(String s, int length) { 20 String _pad(String s, int length) {
18 StringBuffer buffer = new StringBuffer(); 21 StringBuffer buffer = new StringBuffer();
19 for (int i = s.length; i < length; i++) { 22 for (int i = s.length; i < length; i++) {
20 buffer.write(' '); 23 buffer.write(' ');
21 } 24 }
22 buffer.write(s); 25 buffer.write(s);
23 return buffer.toString(); 26 return buffer.toString();
24 } 27 }
25 28
(...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after
661 return new VerboseProgressIndicator(startTime); 664 return new VerboseProgressIndicator(startTime);
662 case 'status': 665 case 'status':
663 return new ProgressIndicator(startTime); 666 return new ProgressIndicator(startTime);
664 case 'buildbot': 667 case 'buildbot':
665 return new BuildbotProgressIndicator(startTime); 668 return new BuildbotProgressIndicator(startTime);
666 default: 669 default:
667 assert(false); 670 assert(false);
668 break; 671 break;
669 } 672 }
670 } 673 }
OLDNEW
« no previous file with comments | « tools/testing/dart/lib/test_information.dart ('k') | tools/testing/dart/lib/test_utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698