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

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

Issue 1699153002: Add step OverAwait to service protocol (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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/async_next_test.dart
diff --git a/runtime/observatory/tests/service/async_next_test.dart b/runtime/observatory/tests/service/async_next_test.dart
index dbdc19b792a93cf52fed98818b9161da00ab9497..3ac354d4549b8d592ee11c151bffe1d2096d2fe1 100644
--- a/runtime/observatory/tests/service/async_next_test.dart
+++ b/runtime/observatory/tests/service/async_next_test.dart
@@ -26,16 +26,17 @@ testMain() {
asyncNext(Isolate isolate) async {
print('asyncNext');
- List asyncStepFutures = await isolate.asyncStepOver();
- return asyncStepFutures[Isolate.kSecondResume];
+ return asyncStepOver(isolate);
}
var tests = [
hasStoppedAtBreakpoint,
stoppedAtLine(14),
+ stepOver, // foo()
asyncNext,
hasStoppedAtBreakpoint,
stoppedAtLine(15),
+ stepOver, // foo()
asyncNext,
hasStoppedAtBreakpoint,
stoppedAtLine(16),

Powered by Google App Engine
This is Rietveld 408576698