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

Unified Diff: lib/unittest.dart

Issue 983573002: Add support for running browser tests to the test runner. (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
Index: lib/unittest.dart
diff --git a/lib/unittest.dart b/lib/unittest.dart
index 78e78bf029a7f20c0f8bd5fa622d2b9b9ab0b1c9..19f9095c86178244a7c83200c103d701f98891da 100644
--- a/lib/unittest.dart
+++ b/lib/unittest.dart
@@ -48,7 +48,9 @@ Declarer get _declarer {
// finished being defined.
_globalDeclarer = new Declarer();
scheduleMicrotask(() {
- var suite = new Suite(p.prettyUri(Uri.base), _globalDeclarer.tests);
+ var suite = new Suite(_globalDeclarer.tests,
+ path: p.prettyUri(Uri.base),
+ platform: "VM");
// TODO(nweiz): Set the exit code on the VM when issue 6943 is fixed.
new NoIoCompactReporter([suite], color: true).run();
});

Powered by Google App Engine
This is Rietveld 408576698