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

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

Issue 2759973004: Fix observatory tests broken by running dartfmt. Temporarily reverted formatting for evaluate_activ… (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/function.dart
diff --git a/runtime/observatory/tests/observatory_ui/mocks/objects/function.dart b/runtime/observatory/tests/observatory_ui/mocks/objects/function.dart
index d017211f122d58c8d58ac017ed1b8e82aa17e264..7733e1d1fe28c7330dadc6d50331733200ce85e5 100644
--- a/runtime/observatory/tests/observatory_ui/mocks/objects/function.dart
+++ b/runtime/observatory/tests/observatory_ui/mocks/objects/function.dart
@@ -12,8 +12,13 @@ class FunctionRefMock implements M.FunctionRef {
final bool isConst;
final M.FunctionKind kind;
- const FunctionRefMock({this.id, this.name, this.dartOwner,
- this.isStatic : false, this.isConst : false, this.kind});
+ const FunctionRefMock(
+ {this.id,
+ this.name,
+ this.dartOwner,
+ this.isStatic: false,
+ this.isConst: false,
+ this.kind});
}
class FunctionMock implements M.Function {
@@ -38,11 +43,27 @@ class FunctionMock implements M.Function {
final bool isRecognized;
final bool isNative;
final String vmName;
- const FunctionMock({this.id, this.name, this.clazz, this.size, this.dartOwner,
- this.isStatic : false, this.isConst : false, this.kind, this.location,
- this.code, this.unoptimizedCode, this.field, this.usageCounter: 0,
- this.icDataArray: const InstanceRefMock(), this.deoptimizations: 0,
- this.isOptimizable: false, this.isInlinable: false,
- this.hasIntrinsic: false, this.isRecognized: false, this.isNative: false,
- this.vmName: 'function-vm-name',});
+ const FunctionMock({
+ this.id,
+ this.name,
+ this.clazz,
+ this.size,
+ this.dartOwner,
+ this.isStatic: false,
+ this.isConst: false,
+ this.kind,
+ this.location,
+ this.code,
+ this.unoptimizedCode,
+ this.field,
+ this.usageCounter: 0,
+ this.icDataArray: const InstanceRefMock(),
+ this.deoptimizations: 0,
+ this.isOptimizable: false,
+ this.isInlinable: false,
+ this.hasIntrinsic: false,
+ this.isRecognized: false,
+ this.isNative: false,
+ this.vmName: 'function-vm-name',
+ });
}

Powered by Google App Engine
This is Rietveld 408576698