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

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

Issue 2534413005: Implement rewind on all platforms except for dbc. (Closed)
Patch Set: Created 4 years 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/service_test_common.dart
diff --git a/runtime/observatory/tests/service/service_test_common.dart b/runtime/observatory/tests/service/service_test_common.dart
index bf1d013c5d89c9c8d0e54ebac8802431b161ef11..45e8b46c9e6248a00652859619c15422e28d0fa1 100644
--- a/runtime/observatory/tests/service/service_test_common.dart
+++ b/runtime/observatory/tests/service/service_test_common.dart
@@ -234,6 +234,10 @@ IsolateTest stoppedAtLine(int line) {
return (Isolate isolate) async {
print("Checking we are at line $line");
+ // Make sure that the isolate has stopped.
+ isolate.reload();
+ expect(isolate.pauseEvent is! M.ResumeEvent, isTrue);
+
ServiceMap stack = await isolate.getStack();
expect(stack.type, equals('Stack'));
« no previous file with comments | « runtime/observatory/tests/service/service.status ('k') | runtime/observatory/tests/service/set_vm_name_rpc_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698