OLD | NEW |
| (Empty) |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | |
2 // for details. All rights reserved. Use of this source code is governed by a | |
3 // BSD-style license that can be found in the LICENSE file. | |
4 | |
5 import 'package:async/async.dart'; | |
6 | |
7 import '../environment.dart'; | |
8 | |
9 /// The environment for test suites loaded in an isolate in this Dart VM. | |
10 class VMEnvironment implements Environment { | |
11 const VMEnvironment(); | |
12 | |
13 Uri get observatoryUrl => throw new UnsupportedError( | |
14 "VMEnvironment.observatoryUrl is not currently supported."); | |
15 | |
16 Uri get remoteDebuggerUrl => throw new UnsupportedError( | |
17 "VMEnvironment.observatoryUrl is not supported."); | |
18 | |
19 CancelableOperation displayPause() => | |
20 throw new UnsupportedError( | |
21 "The VM doesn't yet support Environment.displayPause."); | |
22 } | |
OLD | NEW |