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 import 'dart:async'; | 5 import 'dart:async'; |
6 | 6 |
7 import 'package:async/async.dart'; | 7 import 'package:async/async.dart'; |
8 | 8 |
9 import '../backend/live_test.dart'; | |
10 import '../backend/test_platform.dart'; | 9 import '../backend/test_platform.dart'; |
11 import '../util/io.dart'; | 10 import '../util/io.dart'; |
12 import '../utils.dart'; | 11 import '../utils.dart'; |
13 import 'configuration.dart'; | 12 import 'configuration.dart'; |
14 import 'console.dart'; | 13 import 'console.dart'; |
15 import 'engine.dart'; | 14 import 'engine.dart'; |
16 import 'load_suite.dart'; | 15 import 'load_suite.dart'; |
17 import 'reporter.dart'; | 16 import 'reporter.dart'; |
18 import 'runner_suite.dart'; | 17 import 'runner_suite.dart'; |
19 | 18 |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 'Will restart "${liveTest.test.name}" once it finishes running.')); | 188 'Will restart "${liveTest.test.name}" once it finishes running.')); |
190 } | 189 } |
191 | 190 |
192 /// Closes the debugger and releases its resources. | 191 /// Closes the debugger and releases its resources. |
193 void close() { | 192 void close() { |
194 _closed = true; | 193 _closed = true; |
195 _onDebuggingSubscription.cancel(); | 194 _onDebuggingSubscription.cancel(); |
196 _console.stop(); | 195 _console.stop(); |
197 } | 196 } |
198 } | 197 } |
OLD | NEW |