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

Unified Diff: runtime/observatory/tests/observatory_ui/mocks/objects/objectpool.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/objectpool.dart
diff --git a/runtime/observatory/tests/observatory_ui/mocks/objects/objectpool.dart b/runtime/observatory/tests/observatory_ui/mocks/objects/objectpool.dart
index 3b6c115f6a60a1978f4180d77718335e972acdc3..4fba8bdb11d7784038822f3fe212f4846820f21b 100644
--- a/runtime/observatory/tests/observatory_ui/mocks/objects/objectpool.dart
+++ b/runtime/observatory/tests/observatory_ui/mocks/objects/objectpool.dart
@@ -19,13 +19,9 @@ class ObjectPoolMock implements M.ObjectPool {
final int length;
final Iterable<M.ObjectPoolEntry> entries;
- const ObjectPoolMock(
- {this.id: 'objectpool-id',
- this.vmName: 'objpool-vmName',
- this.clazz: const ClassRefMock(),
- this.size: 1,
- this.length: 0,
- this.entries: const []});
+ const ObjectPoolMock({this.id: 'objectpool-id', this.vmName: 'objpool-vmName',
+ this.clazz: const ClassRefMock(), this.size: 1,
+ this.length: 0, this.entries: const []});
}
class ObjectPoolEntryMock implements M.ObjectPoolEntry {
@@ -34,9 +30,8 @@ class ObjectPoolEntryMock implements M.ObjectPoolEntry {
final M.ObjectRef asObject;
final int asInteger;
- const ObjectPoolEntryMock(
- {this.offset: 0,
- this.kind: M.ObjectPoolEntryKind.object,
- this.asObject: const InstanceRefMock(),
- this.asInteger: null});
+ const ObjectPoolEntryMock({this.offset: 0,
+ this.kind: M.ObjectPoolEntryKind.object,
+ this.asObject: const InstanceRefMock(),
+ this.asInteger: null});
}

Powered by Google App Engine
This is Rietveld 408576698