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

Unified Diff: lib/src/runner/vm/environment.dart

Issue 1263503008: Add an Environment class that's exposed through RunnerSuite. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 5 years, 5 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/src/runner/vm/environment.dart
diff --git a/bin/test.dart b/lib/src/runner/vm/environment.dart
similarity index 50%
copy from bin/test.dart
copy to lib/src/runner/vm/environment.dart
index 0b40282a606bc05d57acede2d8ae0eaa798a1e43..9833d81806d1fdddeb9a9166ee684d1c0320402d 100644
--- a/bin/test.dart
+++ b/lib/src/runner/vm/environment.dart
@@ -2,4 +2,11 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-export 'package:test/src/executable.dart';
+library test.runner.vm.environment;
+
+import '../environment.dart';
+
+/// The environment for test suites loaded in an isolate in this Dart VM.
+class VMEnvironment implements Environment {
+ const VMEnvironment();
+}

Powered by Google App Engine
This is Rietveld 408576698