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

Unified Diff: runtime/observatory/tests/observatory_ui/mocks/objects/instance.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/instance.dart
diff --git a/runtime/observatory/tests/observatory_ui/mocks/objects/instance.dart b/runtime/observatory/tests/observatory_ui/mocks/objects/instance.dart
index aa72df2125d8ceebf0b97272b06b4fe39993f694..301fec509371b05b653f0db6a9dbd47a84e41d7f 100644
--- a/runtime/observatory/tests/observatory_ui/mocks/objects/instance.dart
+++ b/runtime/observatory/tests/observatory_ui/mocks/objects/instance.dart
@@ -18,19 +18,12 @@ class InstanceRefMock implements M.InstanceRef {
final M.FunctionRef closureFunction;
final M.ContextRef closureContext;
- const InstanceRefMock(
- {this.id: 'instance-id',
- this.name: 'instance-name',
- this.kind: M.InstanceKind.vNull,
- this.clazz,
- this.valueAsString: 'null',
- this.valueAsStringIsTruncated,
- this.length,
- this.typeClass,
- this.parameterizedClass,
- this.pattern,
- this.closureFunction,
- this.closureContext});
+ const InstanceRefMock({this.id: 'instance-id', this.name: 'instance-name',
+ this.kind: M.InstanceKind.vNull, this.clazz,
+ this.valueAsString: 'null',
+ this.valueAsStringIsTruncated, this.length,
+ this.typeClass, this.parameterizedClass, this.pattern,
+ this.closureFunction, this.closureContext});
}
class InstanceMock implements M.Instance {
@@ -72,42 +65,20 @@ class InstanceMock implements M.Instance {
final M.InstanceRef oneByteBytecode;
final M.InstanceRef twoByteBytecode;
- const InstanceMock(
- {this.id: 'instance-id',
- this.name: 'instance-name',
- this.vmName: 'instance-vmName',
- this.kind: M.InstanceKind.vNull,
- this.clazz: const ClassRefMock(),
- this.size: 0,
- this.valueAsString: 'null',
- this.valueAsStringIsTruncated,
- this.length,
- this.typeClass,
- this.parameterizedClass,
- this.pattern,
- this.closureFunction,
- this.closureContext,
- this.offset,
- this.count,
- this.typedElements,
- this.fields,
- this.nativeFields,
- this.elements,
- this.associations,
- this.key,
- this.value,
- this.referent,
- this.typeArguments,
- this.parameterIndex,
- this.targetType,
- this.bound,
- this.activationBreakpoint,
- this.isCaseSensitive,
- this.isMultiLine,
- this.oneByteFunction,
- this.twoByteFunction,
- this.externalOneByteFunction,
- this.externalTwoByteFunction,
- this.oneByteBytecode,
- this.twoByteBytecode});
+ const InstanceMock({this.id: 'instance-id', this.name: 'instance-name',
+ this.vmName: 'instance-vmName',
+ this.kind: M.InstanceKind.vNull,
+ this.clazz: const ClassRefMock(), this.size: 0,
+ this.valueAsString: 'null', this.valueAsStringIsTruncated,
+ this.length, this.typeClass, this.parameterizedClass,
+ this.pattern, this.closureFunction, this.closureContext,
+ this.offset, this.count, this.typedElements, this.fields,
+ this.nativeFields, this.elements, this.associations,
+ this.key, this.value, this.referent, this.typeArguments,
+ this.parameterIndex, this.targetType, this.bound,
+ this.activationBreakpoint, this.isCaseSensitive,
+ this.isMultiLine, this.oneByteFunction,
+ this.twoByteFunction, this.externalOneByteFunction,
+ this.externalTwoByteFunction, this.oneByteBytecode,
+ this.twoByteBytecode});
}

Powered by Google App Engine
This is Rietveld 408576698