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

Unified Diff: runtime/observatory/test/inbound_references_test.dart

Issue 823403004: Begin migrating the vm service from a rest-style interface to a json-rpc style interface. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: remove old-style standalone tests. Created 5 years, 11 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/test/graph_test.dart ('k') | runtime/vm/coverage.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/test/inbound_references_test.dart
diff --git a/runtime/observatory/test/inbound_references_test.dart b/runtime/observatory/test/inbound_references_test.dart
index 0d9698c5f400e92f87d31a31743280ac4bf423a8..e74850f6ec9aaf8b9a2575640a836c55636fdc8a 100644
--- a/runtime/observatory/test/inbound_references_test.dart
+++ b/runtime/observatory/test/inbound_references_test.dart
@@ -31,8 +31,7 @@ var tests = [
(Isolate isolate) =>
isolate.rootLib.load().then((Library lib) {
Instance e = lib.variables.where((v) => v.name == 'e').single.value;
- var id = e.id;
- return isolate.get('/$id/inbound_references?limit=100').then(
+ return isolate.getInboundReferences(e, 100).then(
(ServiceMap response) {
List references = response['references'];
hasReferenceSuchThat(predicate) {
« no previous file with comments | « runtime/observatory/test/graph_test.dart ('k') | runtime/vm/coverage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698