Index: runtime/observatory/lib/src/mocks/objects/class.dart |
diff --git a/runtime/observatory/lib/src/mocks/objects/class.dart b/runtime/observatory/lib/src/mocks/objects/class.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..33eb76450101e97d925624acaedc3fb2d1749708 |
--- /dev/null |
+++ b/runtime/observatory/lib/src/mocks/objects/class.dart |
@@ -0,0 +1,22 @@ |
+// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
+// for details. All rights reserved. Use of this source code is governed by a |
+// BSD-style license that can be found in the LICENSE file |
+ |
+part of mocks; |
+ |
+class ClassRefMock implements M.ClassRef { |
+ final String id; |
+ final String name; |
+ const ClassRefMock({this.id, this.name}); |
+} |
+ |
+class ClassMock implements M.ClassRef { |
+ final String id; |
+ final String name; |
+ final bool isAbstract; |
+ final bool isConst; |
+ final M.ClassRef superclass; |
+ final Iterable<M.ClassRef> subclasses; |
+ const ClassMock({this.id, this.name, this.isAbstract, this.isConst, |
+ this.superclass, this.subclasses: const []}); |
+} |