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 23edf0daa0d74bab12cc0337c0618ea34c1d39a6..0f29ac21c180d384a3e6291676e1bb08dd7245ba 100644 |
--- a/runtime/observatory/tests/observatory_ui/mocks/objects/library.dart |
+++ b/runtime/observatory/tests/observatory_ui/mocks/objects/library.dart |
@@ -14,21 +14,21 @@ class LibraryRefMock implements M.LibraryRef { |
class LibraryMock implements M.Library { |
final String id; |
final String name; |
+ final String vmName; |
final M.ClassRef clazz; |
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.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.dependencies: const [], |
+ |
+ const LibraryMock({this.id: 'library-id', this.name: 'library-name', |
+ this.vmName: 'library-vmName', this.clazz, this.size, |
+ this.uri, 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()}); |
} |