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

Unified Diff: runtime/observatory/tests/service/steal_breakpoint_test.dart

Issue 1150303004: Switch to using SourceLocation universally in service protocol. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: post merge Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/observatory/tests/service/source_location_test.dart ('k') | runtime/vm/debugger.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/tests/service/steal_breakpoint_test.dart
diff --git a/runtime/observatory/tests/service/steal_breakpoint_test.dart b/runtime/observatory/tests/service/steal_breakpoint_test.dart
index 5efc7de52127d35dc517815b342e0f13caf35fba..bbe25d9d6e64ad7ad647222d8c5d403e53824334 100644
--- a/runtime/observatory/tests/service/steal_breakpoint_test.dart
+++ b/runtime/observatory/tests/service/steal_breakpoint_test.dart
@@ -52,10 +52,10 @@ var tests = [
expect(stack.type, equals('Stack'));
expect(stack['frames'].length, greaterThanOrEqualTo(1));
- Script script = stack['frames'][0]['script'];
+ Script script = stack['frames'][0].location.script;
await script.load();
expect(script.name,endsWith('steal_breakpoint_test.dart'));
- expect(script.tokenToLine(stack['frames'][0]['tokenPos']), equals(14));
+ expect(script.tokenToLine(stack['frames'][0].location.tokenPos), equals(14));
},
// Resume
« no previous file with comments | « runtime/observatory/tests/service/source_location_test.dart ('k') | runtime/vm/debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698