Index: runtime/observatory/tests/observatory_ui/mocks/repositories/heap_snapshot.dart |
diff --git a/runtime/observatory/tests/observatory_ui/mocks/repositories/heap_snapshot.dart b/runtime/observatory/tests/observatory_ui/mocks/repositories/heap_snapshot.dart |
index d79ea9f983ad84ff78c989385db80b5731607eb0..42f93e3cbbc981d82f07298f0ada988af38723f9 100644 |
--- a/runtime/observatory/tests/observatory_ui/mocks/repositories/heap_snapshot.dart |
+++ b/runtime/observatory/tests/observatory_ui/mocks/repositories/heap_snapshot.dart |
@@ -20,31 +20,28 @@ class HeapSnapshotLoadingProgressMock implements M.HeapSnapshotLoadingProgress { |
final Duration loadingTime; |
final M.HeapSnapshot snapshot; |
- const HeapSnapshotLoadingProgressMock( |
- {this.status: M.HeapSnapshotLoadingStatus.fetching, |
- this.progress: 0.0, |
- this.stepDescription: '', |
- this.fetchingTime, |
- this.loadingTime, |
+ const HeapSnapshotLoadingProgressMock({ |
+ this.status : M.HeapSnapshotLoadingStatus.fetching, this.progress: 0.0, |
+ this.stepDescription: '', this.fetchingTime, this.loadingTime, |
this.snapshot}); |
} |
-typedef Stream< |
- M |
- .HeapSnapshotLoadingProgressEvent> HeapSnapshotRepositoryMockCallback( |
- M.IsolateRef cls, bool gc); |
+typedef Stream<M.HeapSnapshotLoadingProgressEvent> |
+ HeapSnapshotRepositoryMockCallback(M.IsolateRef cls, bool gc); |
-class HeapSnapshotRepositoryMock implements M.HeapSnapshotRepository { |
+class HeapSnapshotRepositoryMock |
+ implements M.HeapSnapshotRepository { |
final HeapSnapshotRepositoryMockCallback _get; |
Stream<M.HeapSnapshotLoadingProgressEvent> get(M.IsolateRef isolate, |
- {bool gc: false}) { |
+ {bool gc: false}) { |
if (_get != null) { |
return _get(isolate, gc); |
} |
return null; |
} |
- HeapSnapshotRepositoryMock({HeapSnapshotRepositoryMockCallback getter}) |
- : _get = getter; |
+ HeapSnapshotRepositoryMock( |
+ {HeapSnapshotRepositoryMockCallback getter}) |
+ : _get = getter; |
} |