Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(722)

Side by Side Diff: runtime/observatory/tests/service/step_test.dart

Issue 2694393003: Add missing pieces of my last CL (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/observatory/tests/service/set_library_debuggable_test.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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);
OLDNEW
« no previous file with comments | « runtime/observatory/tests/service/set_library_debuggable_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698