| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // BSD-style license that can be found in the LICENSE file | |
| 4 | |
| 5 part of mocks; | |
| 6 | |
| 7 class VMRefMock implements M.VMRef { | |
| 8 final String name; | |
| 9 const VMRefMock({this.name}); | |
| 10 } | |
| 11 | |
| 12 class VMMock implements M.VM { | |
| 13 final String name; | |
| 14 final int architectureBits; | |
| 15 final String targetCPU; | |
| 16 final String hostCPU; | |
| 17 final String version; | |
| 18 final int pid; | |
| 19 final DateTime startTime; | |
| 20 final Iterable<M.IsolateRef> isolates; | |
| 21 const VMMock({this.name, this.architectureBits, this.targetCPU, this.hostCPU, | |
| 22 this.version, this.pid, this.startTime, this.isolates : const []}); | |
| 23 } | |
| OLD | NEW |