Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Unified Diff: runtime/observatory/tests/observatory_ui/mocks/objects/vm.dart

Issue 2211603002: Centralized event streams (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Updated observatory_sources Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 74%
rename from runtime/observatory/lib/src/mocks/objects/vm.dart
rename to runtime/observatory/tests/observatory_ui/mocks/objects/vm.dart
index a58272eb97a40e59f90e66b886b1748a66608a25..205df4e52dd725b517a2af2bf85993b063873950 100644
--- a/runtime/observatory/lib/src/mocks/objects/vm.dart
+++ b/runtime/observatory/tests/observatory_ui/mocks/objects/vm.dart
@@ -6,11 +6,13 @@ part of mocks;
class VMRefMock implements M.VMRef {
final String name;
- const VMRefMock({this.name});
+ final String displayName;
+ const VMRefMock({this.name, this.displayName});
}
class VMMock implements M.VM {
final String name;
+ final String displayName;
final int architectureBits;
final String targetCPU;
final String hostCPU;
@@ -18,6 +20,6 @@ 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,
+ const VMMock({this.name, this.displayName, this.architectureBits, this.targetCPU, this.hostCPU,
this.version, this.pid, this.startTime, this.isolates : const []});
}

Powered by Google App Engine
This is Rietveld 408576698