| 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 'package:observatory/service_io.dart'; | 6 import 'package:observatory/service_io.dart'; |
| 7 import 'package:unittest/unittest.dart'; | 7 import 'package:unittest/unittest.dart'; |
| 8 import 'test_helper.dart'; | 8 import 'test_helper.dart'; |
| 9 import 'dart:developer'; | 9 import 'dart:developer'; |
| 10 | 10 |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 equals([33, 1, 34, 1, 105, 2])); | 95 equals([33, 1, 34, 1, 105, 2])); |
| 96 | 96 |
| 97 // Isolate | 97 // Isolate |
| 98 coverage = await isolate.invokeRpcNoUpgrade('_getCoverage', {}); | 98 coverage = await isolate.invokeRpcNoUpgrade('_getCoverage', {}); |
| 99 expect(coverage['type'], equals('CodeCoverage')); | 99 expect(coverage['type'], equals('CodeCoverage')); |
| 100 expect(coverage['coverage'].length, greaterThan(100)); | 100 expect(coverage['coverage'].length, greaterThan(100)); |
| 101 }, | 101 }, |
| 102 | 102 |
| 103 ]; | 103 ]; |
| 104 | 104 |
| 105 main(args) => runIsolateTests(args, tests, testeeConcurrent: testFunction); | 105 main(args) => runIsolateTests(args, tests, |
| 106 testeeConcurrent: testFunction, |
| 107 trace_service: true); |
| OLD | NEW |