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

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

Issue 2304463002: Converted Observatory vm-view && isolate-view elements (Closed)
Patch Set: Fixed typo Created 4 years, 3 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/smart_next_test.dart
diff --git a/runtime/observatory/tests/service/smart_next_test.dart b/runtime/observatory/tests/service/smart_next_test.dart
index e0576a7e576bf4b6cf4b4c4351948a2c4b83934c..b013c4bf9f90b9de30ad6bea38594547ce98eeca 100644
--- a/runtime/observatory/tests/service/smart_next_test.dart
+++ b/runtime/observatory/tests/service/smart_next_test.dart
@@ -3,13 +3,14 @@
// BSD-style license that can be found in the LICENSE file.
// VMOptions=--error_on_bad_type --error_on_bad_override
+import 'package:observatory/models.dart' as M;
import 'package:observatory/service_io.dart';
import 'test_helper.dart';
import 'dart:async';
import 'dart:developer';
import 'service_test_common.dart';
-const int LINE_A = 19;
+const int LINE_A = 20;
foo() async { }
bar() { }
@@ -48,7 +49,7 @@ stepOverAwaitingResume(Isolate isolate) async {
}
smartNext(Isolate isolate) async {
- if (isolate.pauseEvent.atAsyncSuspension) {
+ if (M.isAtAsyncSuspension(isolate.pauseEvent)) {
print("next-async");
return asyncStepOver(isolate);
} else {

Powered by Google App Engine
This is Rietveld 408576698