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

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

Issue 9148062: Let test.dart's compact progress indicator be overwritten by the summary report. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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_suite"); 5 #library("test_suite");
6 6
7 #import("status_file_parser.dart"); 7 #import("status_file_parser.dart");
8 #import("test_runner.dart"); 8 #import("test_runner.dart");
9 #import("multitest.dart"); 9 #import("multitest.dart");
10 10
(...skipping 984 matching lines...) Expand 10 before | Expand all | Expand 10 after
995 if (expectations.contains(CRASH) && expectations.length == 1) { 995 if (expectations.contains(CRASH) && expectations.length == 1) {
996 ++crash; 996 ++crash;
997 } 997 }
998 if (expectations.contains(TIMEOUT)) { 998 if (expectations.contains(TIMEOUT)) {
999 ++timeout; 999 ++timeout;
1000 } 1000 }
1001 } 1001 }
1002 } 1002 }
1003 1003
1004 static void printReport() { 1004 static void printReport() {
1005 if (total == 0) return; 1005 if (total == 0) return;
Bill Hesse 2012/01/12 12:53:36 The \ at the end of a line does not seem to elimin
1006 String report = """\ 1006 String report = """Total: $total tests
1007 Total: $total tests
1008 * $skipped tests will be skipped 1007 * $skipped tests will be skipped
1009 * $noCrash tests are expected to be flaky but not crash 1008 * $noCrash tests are expected to be flaky but not crash
1010 * $pass tests are expected to pass 1009 * $pass tests are expected to pass
1011 * $failOk tests are expected to fail that we won't fix 1010 * $failOk tests are expected to fail that we won't fix
1012 * $fail tests are expected to fail that we should fix 1011 * $fail tests are expected to fail that we should fix
1013 * $crash tests are expected to crash that we should fix 1012 * $crash tests are expected to crash that we should fix
1014 * $timeout tests are allowed to timeout\ 1013 * $timeout tests are allowed to timeout
1015 """; 1014 """;
1016 print(report); 1015 print(report);
1017 } 1016 }
Bill Hesse 2012/01/12 12:53:36 Fix this.
1018 } 1017 }
OLDNEW
« tools/testing/dart/test_progress.dart ('K') | « tools/testing/dart/test_progress.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698