Index: runtime/observatory/tests/observatory_ui/mocks/objects/library.dart |
diff --git a/runtime/observatory/tests/observatory_ui/mocks/objects/library.dart b/runtime/observatory/tests/observatory_ui/mocks/objects/library.dart |
index 43e65b146bee8be6da9b723c35cc920d34aeb3b6..23edf0daa0d74bab12cc0337c0618ea34c1d39a6 100644 |
--- a/runtime/observatory/tests/observatory_ui/mocks/objects/library.dart |
+++ b/runtime/observatory/tests/observatory_ui/mocks/objects/library.dart |
@@ -18,9 +18,17 @@ class LibraryMock implements M.Library { |
final int size; |
final String uri; |
final bool debuggable; |
+ final Iterable<M.LibraryDependency> dependencies; |
final Iterable<M.ScriptRef> scripts; |
final Iterable<M.ClassRef> classes; |
+ final Iterable<M.FieldRef> variables; |
+ final Iterable<M.FunctionRef> functions; |
+ final String vmName; |
+ final M.ScriptRef rootScript; |
const LibraryMock({this.id, this.name, this.clazz, this.size, this.uri, |
- this.debuggable, this.scripts: const [], |
- this.classes: const []}); |
+ this.debuggable, this.dependencies: const [], |
+ this.scripts: const [], this.classes: const [], |
+ this.variables: const [], this.functions: const [], |
+ this.vmName: 'library-vm-name', |
+ this.rootScript: const ScriptRefMock()}); |
} |