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 // VMOptions=--error_on_bad_type --error_on_bad_override | 4 // VMOptions=--error_on_bad_type --error_on_bad_override |
5 | 5 |
6 import 'dart:async'; | 6 import 'dart:async'; |
7 import 'dart:developer'; | 7 import 'dart:developer'; |
8 import 'package:observatory/service_io.dart'; | 8 import 'package:observatory/service_io.dart'; |
9 import 'package:unittest/unittest.dart'; | 9 import 'package:unittest/unittest.dart'; |
10 import 'service_test_common.dart'; | 10 import 'service_test_common.dart'; |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 "recordedStreams": ["Dart"] | 59 "recordedStreams": ["Dart"] |
60 }); | 60 }); |
61 }, | 61 }, |
62 (Isolate isolate) async { | 62 (Isolate isolate) async { |
63 // Wait to receive events. | 63 // Wait to receive events. |
64 await completer.future; | 64 await completer.future; |
65 cancelStreamSubscription(VM.kTimelineStream); | 65 cancelStreamSubscription(VM.kTimelineStream); |
66 }, | 66 }, |
67 ]; | 67 ]; |
68 | 68 |
69 main(args) async => | 69 main(args) async => runIsolateTests(args, |
70 runIsolateTests(args, tests, testeeConcurrent: primeDartTimeline); | 70 tests, |
| 71 testeeConcurrent: primeDartTimeline); |
OLD | NEW |