Index: mojo/public/dart/third_party/test/lib/src/runner/vm/environment.dart |
diff --git a/mojo/public/dart/third_party/test/lib/src/runner/vm/environment.dart b/mojo/public/dart/third_party/test/lib/src/runner/vm/environment.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b7480ea9eb75a2e1636214f42fd1bc85ebdc9651 |
--- /dev/null |
+++ b/mojo/public/dart/third_party/test/lib/src/runner/vm/environment.dart |
@@ -0,0 +1,23 @@ |
+// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
+// 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. |
+ |
+library test.runner.vm.environment; |
+ |
+import '../environment.dart'; |
+import '../../util/cancelable_future.dart'; |
+ |
+/// The environment for test suites loaded in an isolate in this Dart VM. |
+class VMEnvironment implements Environment { |
+ const VMEnvironment(); |
+ |
+ Uri get observatoryUrl => throw new UnsupportedError( |
+ "VMEnvironment.observatoryUrl is not currently supported."); |
+ |
+ Uri get remoteDebuggerUrl => throw new UnsupportedError( |
+ "VMEnvironment.observatoryUrl is not supported."); |
+ |
+ CancelableFuture displayPause() => |
+ throw new UnsupportedError( |
+ "The VM doesn't yet support Environment.displayPause."); |
+} |