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..7862026d596400658a44412b24e347a121f8d745 100644 |
--- a/runtime/observatory/tests/service/evaluate_activation_test.dart |
+++ b/runtime/observatory/tests/service/evaluate_activation_test.dart |
@@ -81,7 +81,7 @@ testMethod(Isolate isolate) async { |
var sub; |
sub = isolate.vm.events.stream.listen((ServiceEvent event) async { |
print("Event $event"); |
- if (event.eventType == ServiceEvent.kPauseBreakpoint) { |
+ if (event.kind == ServiceEvent.kPauseBreakpoint) { |
var frameNumber = 1, r; |
r = await isolate.evalFrame(frameNumber, '123'); /// instance: ok |
expect(r.valueAsString, equals('123')); /// instance: continued |
@@ -129,7 +129,7 @@ testMethod2(Isolate isolate) async { |
var sub; |
sub = isolate.vm.events.stream.listen((ServiceEvent event) async { |
print("Event $event"); |
- if (event.eventType == ServiceEvent.kPauseBreakpoint) { |
+ if (event.kind == ServiceEvent.kPauseBreakpoint) { |
var frameNumber = 1, r; |
r = await isolate.evalFrame(frameNumber, '123'); |
expect(r.valueAsString, equals('123')); |
@@ -177,7 +177,7 @@ testMethod3(Isolate isolate) async { |
var sub; |
sub = isolate.vm.events.stream.listen((ServiceEvent event) async { |
print("Event $event"); |
- if (event.eventType == ServiceEvent.kPauseBreakpoint) { |
+ if (event.kind == ServiceEvent.kPauseBreakpoint) { |
var frameNumber = 1, r; |
r = await isolate.evalFrame(frameNumber, '123'); |
expect(r.valueAsString, equals('123')); |
@@ -218,7 +218,7 @@ testMethod4(Isolate isolate) async { |
var sub; |
sub = isolate.vm.events.stream.listen((ServiceEvent event) async { |
print("Event $event"); |
- if (event.eventType == ServiceEvent.kPauseBreakpoint) { |
+ if (event.kind == ServiceEvent.kPauseBreakpoint) { |
var frameNumber = 1, r; |
r = await isolate.evalFrame(frameNumber, '123'); /// instance: continued |
expect(r.valueAsString, equals('123')); /// instance: continued |