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

Unified Diff: lib/metatest.dart

Issue 1921533010: Support the latest version of test. (Closed) Base URL: git@github.com:dart-lang/metatest@master
Patch Set: Code review changes Created 4 years, 8 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 | « CHANGELOG.md ('k') | pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/metatest.dart
diff --git a/lib/metatest.dart b/lib/metatest.dart
index 0fb33d9a8ce58b329cc20ead400a8ec01efa1d14..a582cffb7c50a3aada8ad5e730ac6f0ff0d5f99e 100644
--- a/lib/metatest.dart
+++ b/lib/metatest.dart
@@ -17,7 +17,7 @@ import 'package:test/src/backend/live_test.dart';
import 'package:test/src/backend/state.dart';
import 'package:test/src/runner/engine.dart';
import 'package:test/src/runner/runner_suite.dart';
-import 'package:test/src/runner/vm/environment.dart';
+import 'package:test/src/runner/plugin/environment.dart';
import 'package:test/test.dart';
/// Declares a test with the given [description] and [body].
@@ -72,7 +72,7 @@ void _setUpTest(String description, void body(),
runZoned(body, zoneValues: {#test.declarer: declarer});
var engine = new Engine.withSuites([
- new RunnerSuite(new VMEnvironment(), declarer.build())
+ new RunnerSuite(new PluginEnvironment(), declarer.build())
]);
for (var test in engine.liveTests) {
test.onPrint.listen(print);
« no previous file with comments | « CHANGELOG.md ('k') | pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698