| 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 'dart:io'; | 8 import 'dart:io'; |
| 9 import 'package:observatory/service_io.dart'; | 9 import 'package:observatory/service_io.dart'; |
| 10 import 'package:unittest/unittest.dart'; | 10 import 'package:unittest/unittest.dart'; |
| 11 import 'service_test_common.dart'; |
| 11 import 'test_helper.dart'; | 12 import 'test_helper.dart'; |
| 12 | 13 |
| 13 void test() { | 14 void test() { |
| 14 debugger(); | 15 debugger(); |
| 15 stdout.write('stdout'); | 16 stdout.write('stdout'); |
| 16 | 17 |
| 17 debugger(); | 18 debugger(); |
| 18 print('print'); | 19 print('print'); |
| 19 | 20 |
| 20 debugger(); | 21 debugger(); |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 completer.complete(); | 81 completer.complete(); |
| 81 }); | 82 }); |
| 82 }); | 83 }); |
| 83 await isolate.resume(); | 84 await isolate.resume(); |
| 84 await completer.future; | 85 await completer.future; |
| 85 }, | 86 }, |
| 86 ]; | 87 ]; |
| 87 | 88 |
| 88 | 89 |
| 89 main(args) => runIsolateTests(args, tests, testeeConcurrent: test); | 90 main(args) => runIsolateTests(args, tests, testeeConcurrent: test); |
| OLD | NEW |