OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 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 | 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. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 library test.runner.vm.environment; | 5 library test.runner.vm.environment; |
6 | 6 |
7 import '../environment.dart'; | 7 import '../environment.dart'; |
8 import '../../util/cancelable_future.dart'; | 8 import '../../util/cancelable_future.dart'; |
9 | 9 |
10 /// The environment for test suites loaded in an isolate in this Dart VM. | 10 /// The environment for test suites loaded in an isolate in this Dart VM. |
11 class VMEnvironment implements Environment { | 11 class VMEnvironment implements Environment { |
12 const VMEnvironment(); | 12 const VMEnvironment(); |
13 | 13 |
14 Uri get observatoryUrl => throw new UnsupportedError( | 14 Uri get observatoryUrl => throw new UnsupportedError( |
15 "VMEnvironment.observatoryUrl is not currently supported."); | 15 "VMEnvironment.observatoryUrl is not currently supported."); |
16 | 16 |
| 17 Uri get remoteDebuggerUrl => throw new UnsupportedError( |
| 18 "VMEnvironment.observatoryUrl is not supported."); |
| 19 |
17 CancelableFuture displayPause() => | 20 CancelableFuture displayPause() => |
18 throw new UnsupportedError( | 21 throw new UnsupportedError( |
19 "The VM doesn't yet support Environment.displayPause."); | 22 "The VM doesn't yet support Environment.displayPause."); |
20 } | 23 } |
OLD | NEW |