| 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});
|
| }
|
|
|