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

Unified Diff: test/runner/load_suite_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 | « test/runner/isolate_listener_test.dart ('k') | test/utils.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/runner/load_suite_test.dart
diff --git a/test/runner/load_suite_test.dart b/test/runner/load_suite_test.dart
index 9f3257b5af4f2368e21e62bddab7a5e406bd0579..dc00f75f943a08e973157b12df6fb941768525bf 100644
--- a/test/runner/load_suite_test.dart
+++ b/test/runner/load_suite_test.dart
@@ -11,8 +11,8 @@ import 'package:test/src/backend/state.dart';
import 'package:test/src/backend/test_platform.dart';
import 'package:test/src/runner/load_exception.dart';
import 'package:test/src/runner/load_suite.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';
@@ -20,7 +20,7 @@ import '../utils.dart';
void main() {
var innerSuite;
setUp(() {
- innerSuite = new RunnerSuite(const VMEnvironment(), new Group.root([]));
+ innerSuite = new RunnerSuite(const PluginEnvironment(), new Group.root([]));
});
test("running a load test causes LoadSuite.suite to emit a suite", () async {
@@ -125,7 +125,7 @@ void main() {
expect(suite.group.entries, hasLength(1));
var newInnerSuite = new RunnerSuite(
- const VMEnvironment(), new Group.root([]));
+ const PluginEnvironment(), new Group.root([]));
var newSuite = suite.changeSuite((suite) => newInnerSuite);
expect(newSuite.suite, completion(equals(newInnerSuite)));
« no previous file with comments | « test/runner/isolate_listener_test.dart ('k') | test/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698