| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 part of mocks; | 5 part of mocks; |
| 6 | 6 |
| 7 class InstanceRefMock implements M.InstanceRef { | 7 class InstanceRefMock implements M.InstanceRef { |
| 8 final String id; | 8 final String id; |
| 9 final String name; | 9 final String name; |
| 10 final M.InstanceKind kind; | 10 final M.InstanceKind kind; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 final int count; | 42 final int count; |
| 43 final Iterable<dynamic> typedElements; | 43 final Iterable<dynamic> typedElements; |
| 44 final Iterable<M.BoundField> fields; | 44 final Iterable<M.BoundField> fields; |
| 45 final Iterable<M.Guarded<M.ObjectRef>> elements; | 45 final Iterable<M.Guarded<M.ObjectRef>> elements; |
| 46 final Iterable<M.MapAssociation> associations; | 46 final Iterable<M.MapAssociation> associations; |
| 47 final M.InstanceRef key; | 47 final M.InstanceRef key; |
| 48 final M.InstanceRef value; | 48 final M.InstanceRef value; |
| 49 final M.InstanceRef referent; | 49 final M.InstanceRef referent; |
| 50 | 50 |
| 51 const InstanceMock({this.id: 'instance-id', this.name: 'instance-name', | 51 const InstanceMock({this.id: 'instance-id', this.name: 'instance-name', |
| 52 this.kind: M.InstanceKind.vNull, this.clazz, this.size, | 52 this.kind: M.InstanceKind.vNull, |
| 53 this.clazz: const ClassRefMock(), this.size: 0, |
| 53 this.valueAsString: 'null', this.valueAsStringIsTruncated, | 54 this.valueAsString: 'null', this.valueAsStringIsTruncated, |
| 54 this.length, this.typeClass, this.parameterizedClass, | 55 this.length, this.typeClass, this.parameterizedClass, |
| 55 this.pattern, this.closureFunction, this.offset, | 56 this.pattern, this.closureFunction, this.offset, |
| 56 this.count, this.typedElements, this.fields, | 57 this.count, this.typedElements, this.fields, |
| 57 this.elements, this.associations, this.key, this.value, | 58 this.elements, this.associations, this.key, this.value, |
| 58 this.referent}); | 59 this.referent}); |
| 59 } | 60 } |
| OLD | NEW |