Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(749)

Side by Side Diff: pkg/analyzer/test/instrumentation/instrumentation_test.dart

Issue 1413403007: Wait for InstrumentationService.shutdown() before exit(0). (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pkg/analyzer/lib/instrumentation/instrumentation.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/instrumentation/instrumentation.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698