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

Side by Side Diff: runtime/observatory/tests/observatory_ui/mocks/objects/field.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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file 3 // BSD-style license that can be found in the LICENSE file
4 4
5 part of mocks; 5 part of mocks;
6 6
7 class FieldRefMock implements M.FieldRef { 7 class FieldRefMock implements M.FieldRef {
8 final String id; 8 final String id;
9 final String name; 9 final String name;
10 final M.ObjectRef dartOwner; 10 final M.ObjectRef dartOwner;
11 final M.InstanceRef declaredType; 11 final M.InstanceRef declaredType;
12 final bool isConst; 12 final bool isConst;
13 final bool isFinal; 13 final bool isFinal;
14 final bool isStatic; 14 final bool isStatic;
15 15
16 const FieldRefMock( 16 const FieldRefMock({this.id: 'field-id', this.name: 'field-name',
17 {this.id: 'field-id', 17 this.dartOwner,
18 this.name: 'field-name', 18 this.declaredType: const InstanceRefMock(name: 'dynamic'),
19 this.dartOwner, 19 this.isConst: false,
20 this.declaredType: const InstanceRefMock(name: 'dynamic'), 20 this.isFinal: false, this.isStatic: false});
21 this.isConst: false,
22 this.isFinal: false,
23 this.isStatic: false});
24 } 21 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698