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

Unified Diff: runtime/observatory/tests/service/evaluate_activation_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
« no previous file with comments | « runtime/observatory/tests/service/eval_test.dart ('k') | runtime/observatory/tests/service/gc_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/tests/service/evaluate_activation_test.dart
diff --git a/runtime/observatory/tests/service/evaluate_activation_test.dart b/runtime/observatory/tests/service/evaluate_activation_test.dart
index 773f28475c0f95f56477d9a8be576b79b5127ed6..858347a0c2e8206929d2df1c70a4b24102b294b0 100644
--- a/runtime/observatory/tests/service/evaluate_activation_test.dart
+++ b/runtime/observatory/tests/service/evaluate_activation_test.dart
@@ -79,7 +79,7 @@ testMethod(Isolate isolate) async {
bool hitBreakpoint = false;
var sub;
- sub = isolate.vm.events.stream.listen((ServiceEvent event) async {
+ sub = isolate.vm.debugEvents.listen((ServiceEvent event) async {
print("Event $event");
if (event.eventType == ServiceEvent.kPauseBreakpoint) {
var frameNumber = 1, r;
@@ -127,7 +127,7 @@ testMethod2(Isolate isolate) async {
bool hitBreakpoint = false;
var sub;
- sub = isolate.vm.events.stream.listen((ServiceEvent event) async {
+ sub = isolate.vm.debugEvents.listen((ServiceEvent event) async {
print("Event $event");
if (event.eventType == ServiceEvent.kPauseBreakpoint) {
var frameNumber = 1, r;
@@ -175,7 +175,7 @@ testMethod3(Isolate isolate) async {
bool hitBreakpoint = false;
var sub;
- sub = isolate.vm.events.stream.listen((ServiceEvent event) async {
+ sub = isolate.vm.debugEvents.listen((ServiceEvent event) async {
print("Event $event");
if (event.eventType == ServiceEvent.kPauseBreakpoint) {
var frameNumber = 1, r;
@@ -216,7 +216,7 @@ testMethod4(Isolate isolate) async {
bool hitBreakpoint = false;
var sub;
- sub = isolate.vm.events.stream.listen((ServiceEvent event) async {
+ sub = isolate.vm.debugEvents.listen((ServiceEvent event) async {
print("Event $event");
if (event.eventType == ServiceEvent.kPauseBreakpoint) {
var frameNumber = 1, r;
« no previous file with comments | « runtime/observatory/tests/service/eval_test.dart ('k') | runtime/observatory/tests/service/gc_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698