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 18065003: Update checked in binary to version 0.5.19.0 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 5 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/record_and_replay.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) 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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 var buf = new StringBuffer(); 181 var buf = new StringBuffer();
182 for (var l in _buildFailureOutput(test)) { 182 for (var l in _buildFailureOutput(test)) {
183 buf.write("$l\n"); 183 buf.write("$l\n");
184 } 184 }
185 _appendToFlakyFile(buf.toString()); 185 _appendToFlakyFile(buf.toString());
186 } 186 }
187 } 187 }
188 188
189 void _appendToFlakyFile(String msg) { 189 void _appendToFlakyFile(String msg) {
190 var file = new File(TestUtils.flakyFileName()); 190 var file = new File(TestUtils.flakyFileName());
191 var fd = file.openSync(FileMode.APPEND); 191 var fd = file.openSync(mode: FileMode.APPEND);
192 fd.writeStringSync(msg); 192 fd.writeStringSync(msg);
193 fd.closeSync(); 193 fd.closeSync();
194 } 194 }
195 } 195 }
196 196
197 class SummaryPrinter extends EventListener { 197 class SummaryPrinter extends EventListener {
198 void allTestsKnown() { 198 void allTestsKnown() {
199 if (SummaryReport.total > 0) { 199 if (SummaryReport.total > 0) {
200 SummaryReport.printReport(); 200 SummaryReport.printReport();
201 } 201 }
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 print('@@@BUILD_STEP $stepName failures@@@'); 535 print('@@@BUILD_STEP $stepName failures@@@');
536 } 536 }
537 for (String line in _failureSummary) { 537 for (String line in _failureSummary) {
538 print(line); 538 print(line);
539 } 539 }
540 print(''); 540 print('');
541 } 541 }
542 print(_buildSummaryEnd(_failedTests)); 542 print(_buildSummaryEnd(_failedTests));
543 } 543 }
544 } 544 }
OLDNEW
« no previous file with comments | « tools/testing/dart/record_and_replay.dart ('k') | tools/testing/dart/test_runner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698