| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |