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

Side by Side Diff: runtime/observatory/tests/service/next_through_function_expression_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_function_expression_test.dart";
6
7 codeXYZ(int i) {
8 innerOne() {
9 return i * i;
10 }
11 return innerOne();
12 }
13
14 code() {
15 codeXYZ(42);
16 }
17
18 List<String> stops = [];
19 List<String> expected = [
20 "$file:${LINE_A+0}:13",
21 "$file:${LINE_A+1}:3",
22 "$file:${LINE_A+4}:18",
23 "$file:${LINE_A+4}:3"
24 ];
25
26 var tests = [
27 hasPausedAtStart,
28 setBreakpointAtLine(LINE_A),
29 runStepThroughProgramRecordingStops(stops),
30 checkRecordedStops(stops, expected)
31 ];
32
33 main(args) {
34 runIsolateTestsSynchronous(args, tests,
35 testeeConcurrent: code, pause_on_start: true, pause_on_exit: true);
36 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698