| 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 unittest.runner.vm.isolate_test; | 5 library test.runner.vm.isolate_test; |
| 6 | 6 |
| 7 import 'dart:isolate'; | 7 import 'dart:isolate'; |
| 8 | 8 |
| 9 import '../../backend/live_test.dart'; | 9 import '../../backend/live_test.dart'; |
| 10 import '../../backend/live_test_controller.dart'; | 10 import '../../backend/live_test_controller.dart'; |
| 11 import '../../backend/metadata.dart'; | 11 import '../../backend/metadata.dart'; |
| 12 import '../../backend/state.dart'; | 12 import '../../backend/state.dart'; |
| 13 import '../../backend/suite.dart'; | 13 import '../../backend/suite.dart'; |
| 14 import '../../backend/test.dart'; | 14 import '../../backend/test.dart'; |
| 15 import '../../util/remote_exception.dart'; | 15 import '../../util/remote_exception.dart'; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 assert(message['type'] == 'complete'); | 52 assert(message['type'] == 'complete'); |
| 53 controller.completer.complete(); | 53 controller.completer.complete(); |
| 54 } | 54 } |
| 55 }); | 55 }); |
| 56 }, onClose: () { | 56 }, onClose: () { |
| 57 if (receivePort != null) receivePort.close(); | 57 if (receivePort != null) receivePort.close(); |
| 58 }); | 58 }); |
| 59 return controller.liveTest; | 59 return controller.liveTest; |
| 60 } | 60 } |
| 61 } | 61 } |
| OLD | NEW |