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

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

Issue 2212253002: Converted Observatory class-tree element (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Removed tmp code 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/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 []});
}

Powered by Google App Engine
This is Rietveld 408576698