| 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 '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 | 9 |
| 10 genRepeater(value) { | 10 genRepeater(value) { |
| 11 return () => print(value); | 11 return () => print(value); |
| 12 } | 12 } |
| 13 | 13 |
| 14 genRepeaterNamed(value) { | 14 genRepeaterNamed(value) { |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 res = await rootLib.evaluate("testeeDo()"); | 199 res = await rootLib.evaluate("testeeDo()"); |
| 200 expect(res is Instance, isTrue); // Not error. | 200 expect(res is Instance, isTrue); // Not error. |
| 201 expect(breaksHit, equals(4)); | 201 expect(breaksHit, equals(4)); |
| 202 | 202 |
| 203 await cancelFutureSubscription(subscriptionFuture); | 203 await cancelFutureSubscription(subscriptionFuture); |
| 204 }, | 204 }, |
| 205 | 205 |
| 206 ]; | 206 ]; |
| 207 | 207 |
| 208 main(args) => runIsolateTests(args, tests, testeeBefore: testeeSetup); | 208 main(args) => runIsolateTests(args, tests, testeeBefore: testeeSetup); |
| OLD | NEW |