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

Unified Diff: runtime/observatory/tests/observatory_ui/mocks/objects/context.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/context.dart
diff --git a/runtime/observatory/tests/observatory_ui/mocks/objects/context.dart b/runtime/observatory/tests/observatory_ui/mocks/objects/context.dart
index 0ece44511d03cd5b3b84e5bd5da392048473d070..2f881f5a55064dc11cc3754af2dd760192b1043c 100644
--- a/runtime/observatory/tests/observatory_ui/mocks/objects/context.dart
+++ b/runtime/observatory/tests/observatory_ui/mocks/objects/context.dart
@@ -14,14 +14,15 @@ class ContextRefMock implements M.ContextRef {
class ContextMock implements M.Context {
final String id;
final M.ClassRef clazz;
+ final String vmName;
final int size;
final int length;
final M.Context parentContext;
final Iterable<M.ContextElement> variables;
- const ContextMock({this.id: 'context-id', this.clazz: const ClassMock(),
- this.size: 0, this.length, this.parentContext,
- this.variables: const []});
+ const ContextMock({this.id: 'context-id', this.vmName: 'context-vmName',
+ this.clazz: const ClassMock(), this.size: 0, this.length,
+ this.parentContext, this.variables: const []});
}
class ContextElementMock implements M.ContextElement {

Powered by Google App Engine
This is Rietveld 408576698