| OLD | NEW |
| 1 import 'dart:async'; | 1 import 'dart:async'; |
| 2 import 'test_helper.dart'; | 2 import 'test_helper.dart'; |
| 3 import 'service_test_common.dart'; | 3 import 'service_test_common.dart'; |
| 4 import 'package:observatory/service_io.dart'; | 4 import 'package:observatory/service_io.dart'; |
| 5 import 'package:unittest/unittest.dart'; | 5 import 'package:unittest/unittest.dart'; |
| 6 | 6 |
| 7 const int LINE_A = 10; | 7 const int LINE_A = 10; |
| 8 | 8 |
| 9 code() { | 9 code() { |
| 10 var x = {}; // LINE_A | 10 var x = {}; // LINE_A |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 expect(pauseEventsSeen > 20, true, | 25 expect(pauseEventsSeen > 20, true, |
| 26 reason: "Saw only $pauseEventsSeen pause events."); | 26 reason: "Saw only $pauseEventsSeen pause events."); |
| 27 await cancelStreamSubscription(VM.kDebugStream); | 27 await cancelStreamSubscription(VM.kDebugStream); |
| 28 completer.complete(); | 28 completer.complete(); |
| 29 } | 29 } |
| 30 }); | 30 }); |
| 31 isolate.resume(); | 31 isolate.resume(); |
| 32 return completer.future; | 32 return completer.future; |
| 33 } | 33 } |
| 34 | 34 |
| 35 var tests = [hasPausedAtStart, setBreakpointAtLine(LINE_A), stepThroughProgram]; | 35 var tests = [hasPausedAtStart, |
| 36 markDartColonLibrariesDebuggable, |
| 37 setBreakpointAtLine(LINE_A), |
| 38 stepThroughProgram]; |
| 36 | 39 |
| 37 main(args) => runIsolateTestsSynchronous(args, tests, | 40 main(args) => runIsolateTestsSynchronous(args, tests, |
| 38 testeeConcurrent: code, pause_on_start: true, pause_on_exit: true); | 41 testeeConcurrent: code, pause_on_start: true, pause_on_exit: true); |
| OLD | NEW |