Index: runtime/observatory/tests/observatory_ui/object_common/element_test.dart |
diff --git a/runtime/observatory/tests/observatory_ui/object_common/element_test.dart b/runtime/observatory/tests/observatory_ui/object_common/element_test.dart |
index bb83bc5cc3382b76e950f0920c071b7f6839b35a..d59410a00917ebec3a6f41b3dada8a12ff4d6b3b 100644 |
--- a/runtime/observatory/tests/observatory_ui/object_common/element_test.dart |
+++ b/runtime/observatory/tests/observatory_ui/object_common/element_test.dart |
@@ -26,8 +26,7 @@ main() { |
final instances = new InstanceRepositoryMock(); |
test('instantiation', () { |
final e = new ObjectCommonElement(isolate, object, retainedSizes, |
- reachableSizes, inbounds, paths, |
- instances); |
+ reachableSizes, inbounds, paths, instances); |
expect(e, isNotNull, reason: 'element correctly created'); |
expect(e.isolate, equals(isolate)); |
expect(e.object, equals(object)); |
@@ -35,8 +34,7 @@ main() { |
group('elements', () { |
test('created after attachment', () async { |
final e = new ObjectCommonElement(isolate, object, retainedSizes, |
- reachableSizes, inbounds, paths, |
- instances); |
+ reachableSizes, inbounds, paths, instances); |
document.body.append(e); |
await e.onRendered.first; |
expect(e.children.length, isNonZero, reason: 'has elements'); |
@@ -49,20 +47,17 @@ main() { |
}); |
test('created after attachment', () async { |
const value = const GuardedMock<InstanceMock>.fromValue( |
- const InstanceMock(valueAsString: '10') |
- ); |
+ const InstanceMock(valueAsString: '10')); |
bool invoked = false; |
final reachableSizes = new ReachableSizeRepositoryMock( |
- getter: expectAsync((i, id) async { |
- expect(i, equals(isolate)); |
- expect(id, equals(object.id)); |
- invoked = true; |
- return value; |
- }, count: 1) |
- ); |
+ getter: expectAsync((i, id) async { |
+ expect(i, equals(isolate)); |
+ expect(id, equals(object.id)); |
+ invoked = true; |
+ return value; |
+ }, count: 1)); |
final e = new ObjectCommonElement(isolate, object, retainedSizes, |
- reachableSizes, inbounds, paths, |
- instances); |
+ reachableSizes, inbounds, paths, instances); |
document.body.append(e); |
await e.onRendered.first; |
expect(invoked, isFalse); |
@@ -79,20 +74,17 @@ main() { |
}); |
test('created after attachment', () async { |
const value = const GuardedMock<InstanceMock>.fromValue( |
- const InstanceMock(valueAsString: '10') |
- ); |
+ const InstanceMock(valueAsString: '10')); |
bool invoked = false; |
final retainedSizes = new RetainedSizeRepositoryMock( |
- getter: expectAsync((i, id) async { |
- expect(i, equals(isolate)); |
- expect(id, equals(object.id)); |
- invoked = true; |
- return value; |
- }, count: 1) |
- ); |
+ getter: expectAsync((i, id) async { |
+ expect(i, equals(isolate)); |
+ expect(id, equals(object.id)); |
+ invoked = true; |
+ return value; |
+ }, count: 1)); |
final e = new ObjectCommonElement(isolate, object, retainedSizes, |
- reachableSizes, inbounds, paths, |
- instances); |
+ reachableSizes, inbounds, paths, instances); |
document.body.append(e); |
await e.onRendered.first; |
expect(invoked, isFalse); |