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

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

Issue 2289953003: Converted Observatory library-view element (Closed)
Patch Set: Fixed inspect page pattern matching 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/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()});
}

Powered by Google App Engine
This is Rietveld 408576698