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 // VMOptions=--compile-all --error_on_bad_type --error_on_bad_override | 4 // VMOptions=--compile_all --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'; |
11 import 'test_helper.dart'; | 11 import 'test_helper.dart'; |
12 | 12 |
13 int count = 0; | 13 int count = 0; |
14 | 14 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 print("restarting"); | 97 print("restarting"); |
98 await isolate.vm.restart(); | 98 await isolate.vm.restart(); |
99 await restartCompleter.future; | 99 await restartCompleter.future; |
100 print("restarted"); | 100 print("restarted"); |
101 await testCompleter.future; | 101 await testCompleter.future; |
102 }, | 102 }, |
103 ]; | 103 ]; |
104 | 104 |
105 | 105 |
106 main(args) => runIsolateTests(args, tests, testeeConcurrent: test); | 106 main(args) => runIsolateTests(args, tests, testeeConcurrent: test); |
OLD | NEW |