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

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

Issue 2751423005: Run dartfmt on all files under runtime. (Closed)
Patch Set: Run dartfmt on all files under runtime. 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 301fec509371b05b653f0db6a9dbd47a84e41d7f..aa72df2125d8ceebf0b97272b06b4fe39993f694 100644
--- a/runtime/observatory/tests/observatory_ui/mocks/objects/instance.dart
+++ b/runtime/observatory/tests/observatory_ui/mocks/objects/instance.dart
@@ -18,12 +18,19 @@ 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 {
@@ -65,20 +72,42 @@ 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