OLD | NEW |
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:io"; |
9 import "dart:io" as io; | 9 import "dart:io" as io; |
10 import "dart:convert" show JSON; | 10 import "dart:convert" show JSON; |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 'compiler', | 255 'compiler', |
256 'runtime', | 256 'runtime', |
257 'checked', | 257 'checked', |
258 'strong', | 258 'strong', |
259 'host_checked', | 259 'host_checked', |
260 'minified', | 260 'minified', |
261 'csp', | 261 'csp', |
262 'system', | 262 'system', |
263 'vm_options', | 263 'vm_options', |
264 'use_sdk', | 264 'use_sdk', |
265 'use_repository_packages', | |
266 'use_public_packages', | |
267 'builder_tag' | 265 'builder_tag' |
268 ]; | 266 ]; |
269 | 267 |
270 IOSink _sink; | 268 IOSink _sink; |
271 | 269 |
272 void done(TestCase test) { | 270 void done(TestCase test) { |
273 var name = test.displayName; | 271 var name = test.displayName; |
274 var configuration = {}; | 272 var configuration = {}; |
275 for (var key in INTERESTED_CONFIGURATION_PARAMETERS) { | 273 for (var key in INTERESTED_CONFIGURATION_PARAMETERS) { |
276 configuration[key] = test.configuration[key]; | 274 configuration[key] = test.configuration[key]; |
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
717 return new VerboseProgressIndicator(startTime); | 715 return new VerboseProgressIndicator(startTime); |
718 case 'status': | 716 case 'status': |
719 return new ProgressIndicator(startTime); | 717 return new ProgressIndicator(startTime); |
720 case 'buildbot': | 718 case 'buildbot': |
721 return new BuildbotProgressIndicator(startTime); | 719 return new BuildbotProgressIndicator(startTime); |
722 default: | 720 default: |
723 assert(false); | 721 assert(false); |
724 return null; | 722 return null; |
725 } | 723 } |
726 } | 724 } |
OLD | NEW |