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

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

Issue 2271083002: Converted Observatory icdata-view element (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Fixed layout & text 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/icdata.dart
diff --git a/runtime/observatory/tests/observatory_ui/mocks/objects/icdata.dart b/runtime/observatory/tests/observatory_ui/mocks/objects/icdata.dart
index b7a3510571ea6843c580a091bcdb262849f01e53..3b4483ff53fc4ac06f8527efc760f013c54d83d3 100644
--- a/runtime/observatory/tests/observatory_ui/mocks/objects/icdata.dart
+++ b/runtime/observatory/tests/observatory_ui/mocks/objects/icdata.dart
@@ -10,3 +10,17 @@ class ICDataRefMock implements M.ICDataRef {
const ICDataRefMock({this.id: 'icdata-id', this.selector});
}
+
+class ICDataMock implements M.ICData {
+ final String id;
+ final M.ClassRef clazz;
+ final int size;
+ final String selector;
+ final M.ObjectRef dartOwner;
+ final M.InstanceRef argumentsDescriptor;
+ final M.InstanceRef entries;
+
+ const ICDataMock({this.id: 'icdata-id', this.clazz: const ClassRefMock(),
+ this.size: 0, this.selector, this.dartOwner,
+ this.argumentsDescriptor, this.entries});
+}

Powered by Google App Engine
This is Rietveld 408576698