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

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

Issue 2294073003: Converted Observatory class-view element (Closed)
Patch Set: Addressed comments 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 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()});
}

Powered by Google App Engine
This is Rietveld 408576698