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

Unified Diff: test/runner/engine_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 | « pubspec.yaml ('k') | test/runner/isolate_listener_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/runner/engine_test.dart
diff --git a/test/runner/engine_test.dart b/test/runner/engine_test.dart
index 2fd80548cc2a4a7f3a11536f7d5153a8ecffc11a..2c4994152932409b5e730351b9c768ed04724fd6 100644
--- a/test/runner/engine_test.dart
+++ b/test/runner/engine_test.dart
@@ -7,8 +7,8 @@ import 'dart:async';
import 'package:test/src/backend/group.dart';
import 'package:test/src/backend/state.dart';
import 'package:test/src/runner/engine.dart';
+import 'package:test/src/runner/plugin/environment.dart';
import 'package:test/src/runner/runner_suite.dart';
-import 'package:test/src/runner/vm/environment.dart';
import 'package:test/test.dart';
import '../utils.dart';
@@ -26,8 +26,8 @@ void main() {
});
var engine = new Engine.withSuites([
- new RunnerSuite(const VMEnvironment(), new Group.root(tests.take(2))),
- new RunnerSuite(const VMEnvironment(), new Group.root(tests.skip(2)))
+ new RunnerSuite(const PluginEnvironment(), new Group.root(tests.take(2))),
+ new RunnerSuite(const PluginEnvironment(), new Group.root(tests.skip(2)))
]);
await engine.run();
@@ -51,7 +51,7 @@ void main() {
}), completes);
engine.suiteSink.add(
- new RunnerSuite(const VMEnvironment(), new Group.root(tests)));
+ new RunnerSuite(const PluginEnvironment(), new Group.root(tests)));
engine.suiteSink.close();
});
@@ -165,7 +165,7 @@ void main() {
});
var engine = new Engine.withSuites([
- new RunnerSuite(const VMEnvironment(), new Group.root(tests))
+ new RunnerSuite(const PluginEnvironment(), new Group.root(tests))
]);
engine.onTestStarted.listen(expectAsync((liveTest) {
« no previous file with comments | « pubspec.yaml ('k') | test/runner/isolate_listener_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698