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

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

Issue 2680303002: Kernel debugging; service tests (Closed)
Patch Set: New failing test 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
(Empty)
1 import 'test_helper.dart';
Kevin Millikin (Google) 2017/02/08 15:37:52 License header.
jensj 2017/02/13 14:04:16 Done.
2 import 'service_test_common.dart';
3
4 const int LINE_A = 7;
5 const String file = "next_through_new_test.dart";
6
7 code() {
8 var x = new Foo();
9 return x;
10 }
11
12 class Foo {
13 var x;
14 }
15
16 List<String> stops = [];
17 List<String> expected = [
18 "$file:${LINE_A+0}:5",
19 "$file:${LINE_A+1}:15",
20 "$file:${LINE_A+2}:3"
21 ];
22
23 var tests = [
24 hasPausedAtStart,
25 setBreakpointAtLine(LINE_A),
26 runStepThroughProgramRecordingStops(stops),
27 checkRecordedStops(stops, expected)
28 ];
29
30 main(args) {
31 runIsolateTestsSynchronous(args, tests,
32 testeeConcurrent: code, pause_on_start: true, pause_on_exit: true);
33 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698