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

Unified Diff: runtime/observatory/tests/observatory_ui/mocks/objects/isolate.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/observatory_ui/mocks/objects/isolate.dart
diff --git a/runtime/observatory/tests/observatory_ui/mocks/objects/isolate.dart b/runtime/observatory/tests/observatory_ui/mocks/objects/isolate.dart
index 055b84efc805ff644e0434e03fcb3acd96c60c2f..10767df544a9e6ef3191fc0820a662e30e0cd6d8 100644
--- a/runtime/observatory/tests/observatory_ui/mocks/objects/isolate.dart
+++ b/runtime/observatory/tests/observatory_ui/mocks/objects/isolate.dart
@@ -24,12 +24,17 @@ class IsolateMock implements M.Isolate {
final Map counters;
final M.HeapSpace newSpace;
final M.HeapSpace oldSpace;
+ final M.IsolateStatus status;
+ final M.DebugEvent pauseEvent;
+ final M.LibraryRef rootLibrary;
+ final M.FunctionRef entry;
const IsolateMock({this.id: 'i-id', this.number, this.name: 'i-name',
this.startTime, this.runnable: true,
this.libraries: const [], this.error,
this.extensionRPCs: const [], this.counters: const {},
this.newSpace: const HeapSpaceMock(),
- this.oldSpace: const HeapSpaceMock()});
- // TODO(cbernaschina) add other properties.
+ this.oldSpace: const HeapSpaceMock(),
+ this.status: M.IsolateStatus.loading, this.pauseEvent,
+ this.rootLibrary, this.entry});
}

Powered by Google App Engine
This is Rietveld 408576698