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

Unified Diff: runtime/observatory/tests/observatory_ui/mocks/objects/class.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/class.dart
diff --git a/runtime/observatory/tests/observatory_ui/mocks/objects/class.dart b/runtime/observatory/tests/observatory_ui/mocks/objects/class.dart
index 22febf28dd29c75e54986e25ab36b9d6c407c0a0..bcb465e79f4126584db557ec5cb96510055fd26b 100644
--- a/runtime/observatory/tests/observatory_ui/mocks/objects/class.dart
+++ b/runtime/observatory/tests/observatory_ui/mocks/objects/class.dart
@@ -34,27 +34,12 @@ class ClassMock implements M.Class {
final bool hasAllocations;
bool get hasNoAllocations => !hasAllocations;
final bool traceAllocations;
- const ClassMock(
- {this.id: 'c-id',
- this.name: 'c-name',
- this.vmName: 'c-name',
- this.clazz,
- this.size,
- this.error,
- this.isAbstract: false,
- this.isConst: false,
- this.isPatch: false,
- this.library,
- this.location,
- this.superclass,
- this.superType,
- this.interfaces: const [],
- this.fields: const [],
- this.functions: const [],
- this.mixin,
- this.subclasses: const [],
- this.hasAllocations: false,
- this.newSpace,
- this.oldSpace,
- this.traceAllocations: false});
+ const ClassMock({this.id: 'c-id', this.name: 'c-name', this.vmName: 'c-name',
+ this.clazz, this.size, this.error, this.isAbstract: false,
+ this.isConst: false, this.isPatch: false, this.library,
+ this.location, this.superclass, this.superType,
+ this.interfaces: const [], this.fields: const [],
+ this.functions: const [], this.mixin,
+ this.subclasses: const [], this.hasAllocations: false,
+ this.newSpace, this.oldSpace, this.traceAllocations: false});
}

Powered by Google App Engine
This is Rietveld 408576698