| 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 301fec509371b05b653f0db6a9dbd47a84e41d7f..aa72df2125d8ceebf0b97272b06b4fe39993f694 100644
|
| --- a/runtime/observatory/tests/observatory_ui/mocks/objects/instance.dart
|
| +++ b/runtime/observatory/tests/observatory_ui/mocks/objects/instance.dart
|
| @@ -18,12 +18,19 @@ class InstanceRefMock implements M.InstanceRef {
|
| 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.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.closureContext});
|
| }
|
|
|
| class InstanceMock implements M.Instance {
|
| @@ -65,20 +72,42 @@ class InstanceMock implements M.Instance {
|
| final M.InstanceRef oneByteBytecode;
|
| final M.InstanceRef twoByteBytecode;
|
|
|
| - const InstanceMock({this.id: 'instance-id', this.name: 'instance-name',
|
| - this.vmName: 'instance-vmName',
|
| - 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.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});
|
| + const InstanceMock(
|
| + {this.id: 'instance-id',
|
| + this.name: 'instance-name',
|
| + this.vmName: 'instance-vmName',
|
| + 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.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});
|
| }
|
|
|