Index: runtime/observatory/tests/observatory_ui/mocks/objects/class.dart |
diff --git a/runtime/observatory/tests/observatory_ui/mocks/objects/class.dart b/runtime/observatory/tests/observatory_ui/mocks/objects/class.dart |
index 3f09be31fe9e590cfd0d79e2539f85d080821c6a..bc290af4bf55f6dbf9529864ff6943948014c664 100644 |
--- a/runtime/observatory/tests/observatory_ui/mocks/objects/class.dart |
+++ b/runtime/observatory/tests/observatory_ui/mocks/objects/class.dart |
@@ -10,13 +10,22 @@ class ClassRefMock implements M.ClassRef { |
const ClassRefMock({this.id, this.name}); |
} |
-class ClassMock implements M.ClassRef { |
+class ClassMock implements M.Class { |
final String id; |
final String name; |
+ final M.ErrorRef error; |
final bool isAbstract; |
final bool isConst; |
+ final bool isPatch; |
+ final M.LibraryRef library; |
+ final M.SourceLocation location; |
final M.ClassRef superclass; |
+ final M.InstanceRef superType; |
+ final Iterable<M.InstanceRef> interfaces; |
+ final M.InstanceRef mixin; |
final Iterable<M.ClassRef> subclasses; |
- const ClassMock({this.id, this.name, this.isAbstract, this.isConst, |
- this.superclass, this.subclasses: const []}); |
+ const ClassMock({this.id: 'c-id', this.name: 'c-name', this.error, |
+ this.isAbstract: false, this.isConst: false, this.isPatch: false, |
+ this.library, this.location, this.superclass, this.superType, |
+ this.interfaces: const [], this.mixin, this.subclasses: const []}); |
} |