| 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 --verbose_debug | 4 // VMOptions=--error_on_bad_type --error_on_bad_override --verbose_debug |
| 5 | 5 |
| 6 import 'package:observatory/service_io.dart'; | 6 import 'package:observatory/service_io.dart'; |
| 7 import 'service_test_common.dart'; | 7 import 'service_test_common.dart'; |
| 8 import 'dart:async'; | 8 import 'dart:async'; |
| 9 import 'test_helper.dart'; | 9 import 'test_helper.dart'; |
| 10 import 'dart:developer'; | 10 import 'dart:developer'; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 print('foo1'); // LINE_D. | 26 print('foo1'); // LINE_D. |
| 27 print('foo2'); // LINE_E. | 27 print('foo2'); // LINE_E. |
| 28 } | 28 } |
| 29 | 29 |
| 30 var tests = [ | 30 var tests = [ |
| 31 hasStoppedAtBreakpoint, | 31 hasStoppedAtBreakpoint, |
| 32 stoppedAtLine(LINE_A), | 32 stoppedAtLine(LINE_A), |
| 33 smartNext, | 33 smartNext, |
| 34 hasStoppedAtBreakpoint, | 34 hasStoppedAtBreakpoint, |
| 35 smartNext, | 35 smartNext, |
| 36 hasStoppedAtBreakpoint, |
| 36 stoppedAtLine(LINE_B), | 37 stoppedAtLine(LINE_B), |
| 37 smartNext, | 38 smartNext, |
| 38 hasStoppedAtBreakpoint, | 39 hasStoppedAtBreakpoint, |
| 39 stoppedAtLine(LINE_C), | 40 stoppedAtLine(LINE_C), |
| 40 smartNext, | 41 smartNext, |
| 41 hasStoppedAtBreakpoint, | 42 hasStoppedAtBreakpoint, |
| 42 stoppedAtLine(LINE_D), | 43 stoppedAtLine(LINE_D), |
| 43 resumeIsolate, | 44 resumeIsolate, |
| 44 ]; | 45 ]; |
| 45 | 46 |
| 46 main(args) => runIsolateTests(args, tests, testeeConcurrent: testMain); | 47 main(args) => runIsolateTests(args, tests, testeeConcurrent: testMain); |
| OLD | NEW |