| 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'; |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 expect(event.bytesAsString, equals('stderr')); | 78 expect(event.bytesAsString, equals('stderr')); |
| 79 stderrSub.cancel().then((_) { | 79 stderrSub.cancel().then((_) { |
| 80 completer.complete(); | 80 completer.complete(); |
| 81 }); | 81 }); |
| 82 }); | 82 }); |
| 83 await isolate.resume(); | 83 await isolate.resume(); |
| 84 await completer.future; | 84 await completer.future; |
| 85 }, | 85 }, |
| 86 ]; | 86 ]; |
| 87 | 87 |
| 88 | 88 |
| 89 main(args) => runIsolateTests(args, tests, testeeConcurrent: test); | 89 main(args) => runIsolateTests(args, tests, testeeConcurrent: test); |
| OLD | NEW |