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

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

Issue 1143783003: Add the streamListen and streamCancel rpcs to the vm service. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: before commit 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/graph_test.dart
diff --git a/runtime/observatory/tests/service/graph_test.dart b/runtime/observatory/tests/service/graph_test.dart
index 6160fa3b5aad6ae2e1b39ff8c8093ff7ba77499d..907dcd40c4b97d79bdb88a8b77eac4928a0a1241 100644
--- a/runtime/observatory/tests/service/graph_test.dart
+++ b/runtime/observatory/tests/service/graph_test.dart
@@ -39,7 +39,7 @@ var tests = [
(Isolate isolate) {
Completer completer = new Completer();
- isolate.vm.events.stream.listen((ServiceEvent event) {
+ isolate.vm.getEventStream('_Graph').listen((ServiceEvent event) {
if (event.eventType == ServiceEvent.kGraph) {
ReadStream reader = new ReadStream(event.data);
ObjectGraph graph = new ObjectGraph(reader);
« no previous file with comments | « runtime/observatory/tests/service/gc_test.dart ('k') | runtime/observatory/tests/service/isolate_lifecycle_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698