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

Unified Diff: bin/unittest.dart

Issue 971123002: Add a variant on ConsoleReporter that doesn't import dart:io. (Closed) Base URL: git@github.com:dart-lang/unittest@master
Patch Set: Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | lib/src/runner/console_reporter.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bin/unittest.dart
diff --git a/bin/unittest.dart b/bin/unittest.dart
index 6836ee4e89390c5c41c5e08834a7def908f15dac..b2d70acc0eb50da774b2c1d2f91ab0c4d2f625ad 100644
--- a/bin/unittest.dart
+++ b/bin/unittest.dart
@@ -11,7 +11,7 @@ import 'dart:isolate';
import 'package:args/args.dart';
import 'package:stack_trace/stack_trace.dart';
-import 'package:unittest/src/runner/console_reporter.dart';
+import 'package:unittest/src/runner/reporter/compact.dart';
import 'package:unittest/src/runner/load_exception.dart';
import 'package:unittest/src/runner/loader.dart';
import 'package:unittest/src/util/exit_codes.dart' as exit_codes;
@@ -62,7 +62,7 @@ void main(List<String> args) {
}).then((suites) {
var color = options["color"];
if (color == null) color = canUseSpecialChars;
- var reporter = new ConsoleReporter(flatten(suites), color: color);
+ var reporter = new CompactReporter(flatten(suites), color: color);
return reporter.run().then((success) {
exitCode = success ? 0 : 1;
}).whenComplete(() => reporter.close());
« no previous file with comments | « no previous file | lib/src/runner/console_reporter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698