| 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=--error_on_bad_type --error_on_bad_override | 4 // VMOptions=--error_on_bad_type --error_on_bad_override |
| 5 | 5 |
| 6 import 'dart:async'; | |
| 7 import 'dart:developer'; | 6 import 'dart:developer'; |
| 8 import 'dart:io'; | 7 import 'dart:io'; |
| 9 import 'dart:isolate' show ReceivePort; | 8 import 'dart:isolate' show ReceivePort; |
| 10 import 'package:observatory/service_io.dart'; | 9 import 'package:observatory/service_io.dart'; |
| 11 import 'package:unittest/unittest.dart'; | 10 import 'package:unittest/unittest.dart'; |
| 12 import 'service_test_common.dart'; | 11 import 'service_test_common.dart'; |
| 13 import 'test_helper.dart'; | 12 import 'test_helper.dart'; |
| 14 | 13 |
| 15 var receivePort; | 14 var receivePort; |
| 16 | 15 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 47 await isolate.pause(); | 46 await isolate.pause(); |
| 48 await interruptFuture; | 47 await interruptFuture; |
| 49 }, | 48 }, |
| 50 | 49 |
| 51 ]; | 50 ]; |
| 52 | 51 |
| 53 main(args) => runIsolateTests(args, tests, | 52 main(args) => runIsolateTests(args, tests, |
| 54 testeeConcurrent: testMain, | 53 testeeConcurrent: testMain, |
| 55 trace_service: true, | 54 trace_service: true, |
| 56 verbose_vm: true); | 55 verbose_vm: true); |
| OLD | NEW |