| Index: runtime/observatory/tests/observatory_ui/mocks/objects/vm.dart
|
| diff --git a/runtime/observatory/lib/src/mocks/objects/vm.dart b/runtime/observatory/tests/observatory_ui/mocks/objects/vm.dart
|
| similarity index 54%
|
| rename from runtime/observatory/lib/src/mocks/objects/vm.dart
|
| rename to runtime/observatory/tests/observatory_ui/mocks/objects/vm.dart
|
| index a58272eb97a40e59f90e66b886b1748a66608a25..2740b831bdbb98a4f886e046061e8aad0c22709f 100644
|
| --- a/runtime/observatory/lib/src/mocks/objects/vm.dart
|
| +++ b/runtime/observatory/tests/observatory_ui/mocks/objects/vm.dart
|
| @@ -1,16 +1,18 @@
|
| // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| part of mocks;
|
|
|
| class VMRefMock implements M.VMRef {
|
| final String name;
|
| - const VMRefMock({this.name});
|
| + final String displayName;
|
| + const VMRefMock({this.name: 'vm-name', this.displayName: 'vm-display-name'});
|
| }
|
|
|
| class VMMock implements M.VM {
|
| final String name;
|
| + final String displayName;
|
| final int architectureBits;
|
| final String targetCPU;
|
| final String hostCPU;
|
| @@ -18,6 +20,8 @@ class VMMock implements M.VM {
|
| final int pid;
|
| final DateTime startTime;
|
| final Iterable<M.IsolateRef> isolates;
|
| - const VMMock({this.name, this.architectureBits, this.targetCPU, this.hostCPU,
|
| - this.version, this.pid, this.startTime, this.isolates : const []});
|
| +
|
| + const VMMock({this.name: 'vm-name', this.displayName: 'vm-display-name',
|
| + this.architectureBits, this.targetCPU, this.hostCPU, this.version,
|
| + this.pid, this.startTime, this.isolates : const []});
|
| }
|
|
|