| 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; | |
| 6 | |
| 7 import 'package:async/async.dart'; | 5 import 'package:async/async.dart'; |
| 8 | 6 |
| 9 import '../environment.dart'; | 7 import '../environment.dart'; |
| 10 | 8 |
| 11 /// The environment for test suites loaded in an isolate in this Dart VM. | 9 /// The environment for test suites loaded in an isolate in this Dart VM. |
| 12 class VMEnvironment implements Environment { | 10 class VMEnvironment implements Environment { |
| 13 const VMEnvironment(); | 11 const VMEnvironment(); |
| 14 | 12 |
| 15 Uri get observatoryUrl => throw new UnsupportedError( | 13 Uri get observatoryUrl => throw new UnsupportedError( |
| 16 "VMEnvironment.observatoryUrl is not currently supported."); | 14 "VMEnvironment.observatoryUrl is not currently supported."); |
| 17 | 15 |
| 18 Uri get remoteDebuggerUrl => throw new UnsupportedError( | 16 Uri get remoteDebuggerUrl => throw new UnsupportedError( |
| 19 "VMEnvironment.observatoryUrl is not supported."); | 17 "VMEnvironment.observatoryUrl is not supported."); |
| 20 | 18 |
| 21 CancelableOperation displayPause() => | 19 CancelableOperation displayPause() => |
| 22 throw new UnsupportedError( | 20 throw new UnsupportedError( |
| 23 "The VM doesn't yet support Environment.displayPause."); | 21 "The VM doesn't yet support Environment.displayPause."); |
| 24 } | 22 } |
| OLD | NEW |