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

Unified Diff: lib/test.dart

Issue 1685363002: Add a platform plugin infrastructure. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Code review changes Created 4 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 | « lib/src/utils.dart ('k') | pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/test.dart
diff --git a/lib/test.dart b/lib/test.dart
index 2ad2bd89137bc1f2bc888a669790ef528eca96d2..6f29ca37e9be8bc74041e35c86642c73f581ae6e 100644
--- a/lib/test.dart
+++ b/lib/test.dart
@@ -10,9 +10,9 @@ import 'src/backend/declarer.dart';
import 'src/backend/test_platform.dart';
import 'src/frontend/timeout.dart';
import 'src/runner/engine.dart';
+import 'src/runner/plugin/environment.dart';
import 'src/runner/reporter/expanded.dart';
import 'src/runner/runner_suite.dart';
-import 'src/runner/vm/environment.dart';
import 'src/utils.dart';
export 'package:matcher/matcher.dart';
@@ -51,9 +51,7 @@ Declarer get _declarer {
_globalDeclarer = new Declarer();
scheduleMicrotask(() async {
var suite = new RunnerSuite(
- // TODO(nweiz): Use a different environment if VM environment starts
- // import dart:io before cross-platform libraries exist.
- const VMEnvironment(),
+ const PluginEnvironment(),
_globalDeclarer.build(),
path: p.prettyUri(Uri.base),
platform: TestPlatform.vm,
« no previous file with comments | « lib/src/utils.dart ('k') | pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698