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

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

Powered by Google App Engine
This is Rietveld 408576698