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

Side by Side Diff: runtime/observatory/tests/service/next_through_simple_linear_2_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 = 11;
5 const String file = "next_through_simple_linear_2_test.dart";
6
7 code() {
8 var a = getA();
9 var b = getB();
10
11 print("Hello, World!"); // LINE_A
12 print("a: $a; b: $b");
13 print("Goodbye, world!");
14 }
15
16 getA() => true;
17 getB() => 42;
18
19 List<String> stops = [];
20 List<String> expected = [
21 "$file:$LINE_A:3",
22 "$file:${LINE_A+1}:23",
23 "$file:${LINE_A+1}:3",
24 "$file:${LINE_A+2}:3"
25 ];
26
27 var tests = [
28 hasPausedAtStart,
29 setBreakpointAtLine(LINE_A),
30 runStepThroughProgramRecordingStops(stops),
31 checkRecordedStops(stops, expected)
32 ];
33
34 main(args) {
35 runIsolateTestsSynchronous(args, tests,
36 testeeConcurrent: code, pause_on_start: true, pause_on_exit: true);
37 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698