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

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

Issue 2291233002: Converted Observatory instance-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
« no previous file with comments | « runtime/observatory/observatory_sources.gypi ('k') | runtime/observatory/tests/service/contexts_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/tests/observatory_ui/mocks/objects/instance.dart
diff --git a/runtime/observatory/tests/observatory_ui/mocks/objects/instance.dart b/runtime/observatory/tests/observatory_ui/mocks/objects/instance.dart
index bb8f6c270120b10b6e5fb61d2af8fe658d22d7a6..95171c7d0983def134bee215f62100dea15458f4 100644
--- a/runtime/observatory/tests/observatory_ui/mocks/objects/instance.dart
+++ b/runtime/observatory/tests/observatory_ui/mocks/objects/instance.dart
@@ -16,13 +16,14 @@ class InstanceRefMock implements M.InstanceRef {
final M.ClassRef parameterizedClass;
final M.InstanceRef pattern;
final M.FunctionRef closureFunction;
+ final M.ContextRef closureContext;
const InstanceRefMock({this.id: 'instance-id', this.name: 'instance-name',
this.kind: M.InstanceKind.vNull, this.clazz,
this.valueAsString: 'null',
this.valueAsStringIsTruncated, this.length,
this.typeClass, this.parameterizedClass, this.pattern,
- this.closureFunction});
+ this.closureFunction, this.closureContext});
}
class InstanceMock implements M.Instance {
@@ -38,23 +39,44 @@ class InstanceMock implements M.Instance {
final M.ClassRef parameterizedClass;
final M.InstanceRef pattern;
final M.FunctionRef closureFunction;
+ final M.ContextRef closureContext;
final int offset;
final int count;
final Iterable<dynamic> typedElements;
final Iterable<M.BoundField> fields;
+ final Iterable<M.NativeField> nativeFields;
final Iterable<M.Guarded<M.ObjectRef>> elements;
final Iterable<M.MapAssociation> associations;
final M.InstanceRef key;
final M.InstanceRef value;
final M.InstanceRef referent;
+ final M.TypeArguments typeArguments;
+ final int parameterIndex;
+ final M.InstanceRef targetType;
+ final M.InstanceRef bound;
+ final M.Breakpoint activationBreakpoint;
+ final bool isCaseSensitive;
+ final bool isMultiLine;
+ final M.FunctionRef oneByteFunction;
+ final M.FunctionRef twoByteFunction;
+ final M.FunctionRef externalOneByteFunction;
+ final M.FunctionRef externalTwoByteFunction;
+ final M.InstanceRef oneByteBytecode;
+ final M.InstanceRef twoByteBytecode;
const InstanceMock({this.id: 'instance-id', this.name: 'instance-name',
this.kind: M.InstanceKind.vNull,
this.clazz: const ClassRefMock(), this.size: 0,
this.valueAsString: 'null', this.valueAsStringIsTruncated,
this.length, this.typeClass, this.parameterizedClass,
- this.pattern, this.closureFunction, this.offset,
- this.count, this.typedElements, this.fields,
- this.elements, this.associations, this.key, this.value,
- this.referent});
+ this.pattern, this.closureFunction, this.closureContext,
+ this.offset, this.count, this.typedElements, this.fields,
+ this.nativeFields, this.elements, this.associations,
+ this.key, this.value, this.referent, this.typeArguments,
+ this.parameterIndex, this.targetType, this.bound,
+ this.activationBreakpoint, this.isCaseSensitive,
+ this.isMultiLine, this.oneByteFunction,
+ this.twoByteFunction, this.externalOneByteFunction,
+ this.externalTwoByteFunction, this.oneByteBytecode,
+ this.twoByteBytecode});
}
« no previous file with comments | « runtime/observatory/observatory_sources.gypi ('k') | runtime/observatory/tests/service/contexts_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698