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

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

Issue 2212253002: Converted Observatory class-tree element (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Removed tmp code 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/isolate.dart
diff --git a/runtime/observatory/tests/observatory_ui/mocks/objects/isolate.dart b/runtime/observatory/tests/observatory_ui/mocks/objects/isolate.dart
index 72b254268bf36ac3df81936d5c055b44636ada89..d65b840cdb6c82b8e55ef60a54091ab094ac8b68 100644
--- a/runtime/observatory/tests/observatory_ui/mocks/objects/isolate.dart
+++ b/runtime/observatory/tests/observatory_ui/mocks/objects/isolate.dart
@@ -9,7 +9,7 @@ class IsolateRefMock implements M.IsolateRef {
final int number;
final String name;
- const IsolateRefMock({this.id, this.number, this.name});
+ const IsolateRefMock({this.id: 'i-id', this.number, this.name: 'i-name'});
}
class IsolateMock implements M.Isolate {
@@ -19,7 +19,7 @@ class IsolateMock implements M.Isolate {
final DateTime startTime;
final bool runnable;
- const IsolateMock({this.id, this.number, this.name, this.startTime,
- this.runnable});
+ const IsolateMock({this.id: 'i-id', this.number, this.name: 'i-name',
+ this.startTime, this.runnable: true});
// TODO(cbernaschina) add other properties.
}

Powered by Google App Engine
This is Rietveld 408576698