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 IsolateRefMock implements M.IsolateRef { | 7 class IsolateRefMock implements M.IsolateRef { |
8 final String id; | 8 final String id; |
9 final int number; | 9 final int number; |
10 final String name; | 10 final String name; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 this.libraries: const [], | 46 this.libraries: const [], |
47 this.error, | 47 this.error, |
48 this.extensionRPCs: const [], | 48 this.extensionRPCs: const [], |
49 this.counters: const {}, | 49 this.counters: const {}, |
50 this.newSpace: const HeapSpaceMock(), | 50 this.newSpace: const HeapSpaceMock(), |
51 this.oldSpace: const HeapSpaceMock(), | 51 this.oldSpace: const HeapSpaceMock(), |
52 this.status: M.IsolateStatus.loading, | 52 this.status: M.IsolateStatus.loading, |
53 this.pauseEvent, | 53 this.pauseEvent, |
54 this.rootLibrary, | 54 this.rootLibrary, |
55 this.entry}); | 55 this.entry}); |
| 56 |
| 57 Future collectAllGarbage() async { |
| 58 throw "Unimplemented"; |
| 59 } |
56 } | 60 } |
OLD | NEW |