| Index: runtime/observatory/tests/observatory_ui/mocks/objects/class.dart
|
| diff --git a/runtime/observatory/tests/observatory_ui/mocks/objects/class.dart b/runtime/observatory/tests/observatory_ui/mocks/objects/class.dart
|
| index 22febf28dd29c75e54986e25ab36b9d6c407c0a0..bcb465e79f4126584db557ec5cb96510055fd26b 100644
|
| --- a/runtime/observatory/tests/observatory_ui/mocks/objects/class.dart
|
| +++ b/runtime/observatory/tests/observatory_ui/mocks/objects/class.dart
|
| @@ -34,27 +34,12 @@ class ClassMock implements M.Class {
|
| final bool hasAllocations;
|
| bool get hasNoAllocations => !hasAllocations;
|
| final bool traceAllocations;
|
| - const ClassMock(
|
| - {this.id: 'c-id',
|
| - this.name: 'c-name',
|
| - this.vmName: 'c-name',
|
| - this.clazz,
|
| - this.size,
|
| - this.error,
|
| - this.isAbstract: false,
|
| - this.isConst: false,
|
| - this.isPatch: false,
|
| - this.library,
|
| - this.location,
|
| - this.superclass,
|
| - this.superType,
|
| - this.interfaces: const [],
|
| - this.fields: const [],
|
| - this.functions: const [],
|
| - this.mixin,
|
| - this.subclasses: const [],
|
| - this.hasAllocations: false,
|
| - this.newSpace,
|
| - this.oldSpace,
|
| - this.traceAllocations: false});
|
| + const ClassMock({this.id: 'c-id', this.name: 'c-name', this.vmName: 'c-name',
|
| + this.clazz, this.size, this.error, this.isAbstract: false,
|
| + this.isConst: false, this.isPatch: false, this.library,
|
| + this.location, this.superclass, this.superType,
|
| + this.interfaces: const [], this.fields: const [],
|
| + this.functions: const [], this.mixin,
|
| + this.subclasses: const [], this.hasAllocations: false,
|
| + this.newSpace, this.oldSpace, this.traceAllocations: false});
|
| }
|
|
|