OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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.debugger; | |
6 | |
7 import 'dart:async'; | 5 import 'dart:async'; |
8 | 6 |
9 import 'package:async/async.dart'; | 7 import 'package:async/async.dart'; |
10 | 8 |
11 import '../backend/live_test.dart'; | 9 import '../backend/live_test.dart'; |
12 import '../backend/test_platform.dart'; | 10 import '../backend/test_platform.dart'; |
13 import '../util/io.dart'; | 11 import '../util/io.dart'; |
14 import '../utils.dart'; | 12 import '../utils.dart'; |
15 import 'configuration.dart'; | 13 import 'configuration.dart'; |
16 import 'console.dart'; | 14 import 'console.dart'; |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 'Will restart "${liveTest.test.name}" once it finishes running.')); | 189 'Will restart "${liveTest.test.name}" once it finishes running.')); |
192 } | 190 } |
193 | 191 |
194 /// Closes the debugger and releases its resources. | 192 /// Closes the debugger and releases its resources. |
195 void close() { | 193 void close() { |
196 _closed = true; | 194 _closed = true; |
197 _onDebuggingSubscription.cancel(); | 195 _onDebuggingSubscription.cancel(); |
198 _console.stop(); | 196 _console.stop(); |
199 } | 197 } |
200 } | 198 } |
OLD | NEW |