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

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

Issue 1153193006: Standardize on using "kind" to distinguish sub-varieties of a type. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: doc changes 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..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
« 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