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

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

Issue 2767533002: Revert "Fix observatory tests broken by running dartfmt." (Closed)
Patch Set: Created 3 years, 9 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 c501e8a4646ce00d45eb73df9ff2eea71dd66038..10767df544a9e6ef3191fc0820a662e30e0cd6d8 100644
--- a/runtime/observatory/tests/observatory_ui/mocks/objects/isolate.dart
+++ b/runtime/observatory/tests/observatory_ui/mocks/objects/isolate.dart
@@ -29,20 +29,12 @@ class IsolateMock implements M.Isolate {
final M.LibraryRef rootLibrary;
final M.FunctionRef entry;
- const IsolateMock(
- {this.id: 'i-id',
- this.number,
- this.name: 'i-name',
- this.startTime,
- this.runnable: true,
- this.libraries: const [],
- this.error,
- this.extensionRPCs: const [],
- this.counters: const {},
- this.newSpace: const HeapSpaceMock(),
- this.oldSpace: const HeapSpaceMock(),
- this.status: M.IsolateStatus.loading,
- this.pauseEvent,
- this.rootLibrary,
- this.entry});
+ const IsolateMock({this.id: 'i-id', this.number, this.name: 'i-name',
+ this.startTime, this.runnable: true,
+ this.libraries: const [], this.error,
+ this.extensionRPCs: const [], this.counters: const {},
+ this.newSpace: const HeapSpaceMock(),
+ this.oldSpace: const HeapSpaceMock(),
+ this.status: M.IsolateStatus.loading, this.pauseEvent,
+ this.rootLibrary, this.entry});
}

Powered by Google App Engine
This is Rietveld 408576698