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

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

Issue 2984203002: Move the status file parser into its own package. (Closed)
Patch Set: Created 3 years, 4 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
« no previous file with comments | « tools/testing/dart/status_file.dart ('k') | tools/testing/dart/test_progress.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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 summary_report; 5 library summary_report;
6 6
7 import "expectation.dart"; 7 import "package:status_file/expectation.dart";
8
8 import "test_runner.dart"; 9 import "test_runner.dart";
9 10
10 final summaryReport = new SummaryReport(); 11 final summaryReport = new SummaryReport();
11 12
12 class SummaryReport { 13 class SummaryReport {
13 int _total = 0; 14 int _total = 0;
14 int _skipped = 0; 15 int _skipped = 0;
15 int _skippedByDesign = 0; 16 int _skippedByDesign = 0;
16 int _noCrash = 0; 17 int _noCrash = 0;
17 int _flakyCrash = 0; 18 int _flakyCrash = 0;
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 * $_timeout tests are allowed to timeout 125 * $_timeout tests are allowed to timeout
125 * $_compileErrorSkip tests are skipped on browsers due to compile-time error 126 * $_compileErrorSkip tests are skipped on browsers due to compile-time error
126 * $bogus could not be categorized or are in multiple categories 127 * $bogus could not be categorized or are in multiple categories
127 """; 128 """;
128 129
129 void printReport() { 130 void printReport() {
130 if (_total == 0) return; 131 if (_total == 0) return;
131 print(report); 132 print(report);
132 } 133 }
133 } 134 }
OLDNEW
« no previous file with comments | « tools/testing/dart/status_file.dart ('k') | tools/testing/dart/test_progress.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698