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

Unified Diff: runtime/observatory/tests/service/code_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
Index: runtime/observatory/tests/service/code_test.dart
diff --git a/runtime/observatory/tests/service/code_test.dart b/runtime/observatory/tests/service/code_test.dart
index 6b74b392b030e511242b95c5939961ece29292bc..28e2f862f94c958c53285da8dfdf3390bff93350 100644
--- a/runtime/observatory/tests/service/code_test.dart
+++ b/runtime/observatory/tests/service/code_test.dart
@@ -59,10 +59,10 @@ var tests = [
var frame0 = stack['frames'][0];
var frame1 = stack['frames'][1];
print(frame0);
- expect(frame0['function'].name, equals('funcB'));
- expect(frame1['function'].name, equals('funcA'));
- var codeId0 = frame0['code'].id;
- var codeId1 = frame1['code'].id;
+ expect(frame0.function.name, equals('funcB'));
+ expect(frame1.function.name, equals('funcA'));
+ var codeId0 = frame0.code.id;
+ var codeId1 = frame1.code.id;
List tests = [];
// Load code from frame 0.
« no previous file with comments | « runtime/observatory/lib/src/service/object.dart ('k') | runtime/observatory/tests/service/coverage_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698