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

Unified Diff: runtime/observatory/tests/observatory_ui/objectstore_view/element_test.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/objectstore_view/element_test.dart
diff --git a/runtime/observatory/tests/observatory_ui/objectstore_view/element_test.dart b/runtime/observatory/tests/observatory_ui/objectstore_view/element_test.dart
index 1889b49e6b9502eb75597724941d40f65b576562..fb56f538ebe46ab9e27512ed4c48ebe6d24177e4 100644
--- a/runtime/observatory/tests/observatory_ui/objectstore_view/element_test.dart
+++ b/runtime/observatory/tests/observatory_ui/objectstore_view/element_test.dart
@@ -17,7 +17,8 @@ main() {
final stores = new ObjectStoreRepositoryMock();
final instances = new InstanceRepositoryMock();
test('instantiation', () {
- final e = new ObjectStoreViewElement(vm, isolate, events, notifs, stores, instances);
+ final e = new ObjectStoreViewElement(
+ vm, isolate, events, notifs, stores, instances);
expect(e, isNotNull, reason: 'element correctly created');
expect(e.isolate, equals(isolate));
});
@@ -29,13 +30,13 @@ main() {
];
const store = const ObjectStoreMock(fields: fields);
final stores = new ObjectStoreRepositoryMock(
- getter: expectAsync((i) async {
- expect(i, equals(isolate));
- return store;
- }, count: 1)
- );
+ getter: expectAsync((i) async {
+ expect(i, equals(isolate));
+ return store;
+ }, count: 1));
final instances = new InstanceRepositoryMock();
- final e = new ObjectStoreViewElement(vm, isolate, events, notifs, stores, instances);
+ final e = new ObjectStoreViewElement(
+ vm, isolate, events, notifs, stores, instances);
document.body.append(e);
await e.onRendered.first;
expect(e.children.length, isNonZero, reason: 'has elements');

Powered by Google App Engine
This is Rietveld 408576698