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

Unified Diff: runtime/observatory/tests/observatory_ui/mocks/objects/isolate.dart

Issue 2217723004: Converted Observatory isolate-summary element (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Removed patch file Created 4 years, 4 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 d65b840cdb6c82b8e55ef60a54091ab094ac8b68..055b84efc805ff644e0434e03fcb3acd96c60c2f 100644
--- a/runtime/observatory/tests/observatory_ui/mocks/objects/isolate.dart
+++ b/runtime/observatory/tests/observatory_ui/mocks/objects/isolate.dart
@@ -18,8 +18,18 @@ class IsolateMock implements M.Isolate {
final String name;
final DateTime startTime;
final bool runnable;
+ final Iterable<M.LibraryRef> libraries;
+ final M.Error error;
+ final Iterable<String> extensionRPCs;
+ final Map counters;
+ final M.HeapSpace newSpace;
+ final M.HeapSpace oldSpace;
const IsolateMock({this.id: 'i-id', this.number, this.name: 'i-name',
- this.startTime, this.runnable: true});
+ 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.
}
« no previous file with comments | « runtime/observatory/tests/observatory_ui/mocks/objects/heap_space.dart ('k') | runtime/observatory/web/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698