OLD | NEW |
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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 --async_debugger |
5 // VMOptions=--optimization-counter-threshold=5 --error_on_bad_type --error_on_b
ad_override | 5 // VMOptions=--optimization-counter-threshold=5 --error_on_bad_type --error_on_b
ad_override --async_debugger |
6 | 6 |
7 import 'package:observatory/service_io.dart'; | 7 import 'package:observatory/service_io.dart'; |
8 import 'package:observatory/models.dart' as M; | 8 import 'package:observatory/models.dart' as M; |
9 import 'package:unittest/unittest.dart'; | 9 import 'package:unittest/unittest.dart'; |
10 import 'test_helper.dart'; | 10 import 'test_helper.dart'; |
11 import 'service_test_common.dart'; | 11 import 'service_test_common.dart'; |
12 | 12 |
13 const LINE_A = 36; | 13 const LINE_A = 36; |
14 | 14 |
15 class Foo { | 15 class Foo { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 // We've stopped at LINE_A. | 51 // We've stopped at LINE_A. |
52 expect(await asyncStack[3].location.toUserString(), | 52 expect(await asyncStack[3].location.toUserString(), |
53 contains('.dart:$LINE_A')); | 53 contains('.dart:$LINE_A')); |
54 } | 54 } |
55 ]; | 55 ]; |
56 | 56 |
57 main(args) => runIsolateTests(args, | 57 main(args) => runIsolateTests(args, |
58 tests, | 58 tests, |
59 pause_on_unhandled_exceptions: true, | 59 pause_on_unhandled_exceptions: true, |
60 testeeConcurrent: testeeMain); | 60 testeeConcurrent: testeeMain); |
OLD | NEW |