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.instrumentation; | 5 library test.instrumentation; |
6 | 6 |
| 7 import 'dart:async'; |
| 8 |
7 import 'package:analyzer/instrumentation/instrumentation.dart'; | 9 import 'package:analyzer/instrumentation/instrumentation.dart'; |
8 import 'package:unittest/unittest.dart'; | 10 import 'package:unittest/unittest.dart'; |
9 | 11 |
10 import '../reflective_tests.dart'; | 12 import '../reflective_tests.dart'; |
11 | 13 |
12 main() { | 14 main() { |
13 group('instrumentation', () { | 15 group('instrumentation', () { |
14 runReflectiveTests(InstrumentationServiceTest); | 16 runReflectiveTests(InstrumentationServiceTest); |
15 runReflectiveTests(MulticastInstrumentationServerTest); | 17 runReflectiveTests(MulticastInstrumentationServerTest); |
16 }); | 18 }); |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 void log(String message) { | 169 void log(String message) { |
168 normalChannel.writeln(message); | 170 normalChannel.writeln(message); |
169 } | 171 } |
170 | 172 |
171 @override | 173 @override |
172 void logWithPriority(String message) { | 174 void logWithPriority(String message) { |
173 priorityChannel.writeln(message); | 175 priorityChannel.writeln(message); |
174 } | 176 } |
175 | 177 |
176 @override | 178 @override |
177 void shutdown() { | 179 Future shutdown() async { |
178 // Ignored | 180 // Ignored |
179 } | 181 } |
180 } | 182 } |
OLD | NEW |