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

Side by Side Diff: runtime/observatory/tests/service/regress_28443_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
OLDNEW
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 4
5 import 'dart:async'; 5 import 'dart:async';
6 import 'test_helper.dart'; 6 import 'test_helper.dart';
7 import 'service_test_common.dart'; 7 import 'service_test_common.dart';
8 import 'package:observatory/service_io.dart'; 8 import 'package:observatory/service_io.dart';
9 import 'package:unittest/unittest.dart'; 9 import 'package:unittest/unittest.dart';
10 10
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 reason: "Saw only $pauseEventsSeen pause events."); 54 reason: "Saw only $pauseEventsSeen pause events.");
55 await cancelStreamSubscription(VM.kDebugStream); 55 await cancelStreamSubscription(VM.kDebugStream);
56 completer.complete(); 56 completer.complete();
57 } 57 }
58 }); 58 });
59 isolate.resume(); 59 isolate.resume();
60 return completer.future; 60 return completer.future;
61 } 61 }
62 62
63 var tests = [hasPausedAtStart, 63 var tests = [hasPausedAtStart,
64 markDartColonLibrariesDebuggable,
64 setBreakpointAtLine(LINE_B), 65 setBreakpointAtLine(LINE_B),
65 resumeIsolate, 66 resumeIsolate,
66 hasStoppedAtBreakpoint, 67 hasStoppedAtBreakpoint,
67 setBreakpointAtLine(LINE_A), 68 setBreakpointAtLine(LINE_A),
68 resumeIsolate, 69 resumeIsolate,
69 hasStoppedAtBreakpoint, 70 hasStoppedAtBreakpoint,
70 stepOut, 71 stepOut,
71 stoppedAtLine(LINE_B), 72 stoppedAtLine(LINE_B),
72 resumeIsolate]; 73 resumeIsolate];
73 74
74 main(args) => runIsolateTestsSynchronous(args, tests, 75 main(args) => runIsolateTestsSynchronous(args, tests,
75 testeeConcurrent: test_code, pause_on_start: true, pause_on_exit: false); 76 testeeConcurrent: test_code, pause_on_start: true, pause_on_exit: false);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698