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

Unified Diff: runtime/observatory/tests/observatory_ui/icdata_view/element_test.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 side-by-side diff with in-line comments
Download patch
Index: runtime/observatory/tests/observatory_ui/icdata_view/element_test.dart
diff --git a/runtime/observatory/tests/observatory_ui/icdata_view/element_test.dart b/runtime/observatory/tests/observatory_ui/icdata_view/element_test.dart
index df1ee7f346fe6c53d43337ec122df371ab4a99b4..cde932c50ac628dbb581410aa0eb65e88f055acd 100644
--- a/runtime/observatory/tests/observatory_ui/icdata_view/element_test.dart
+++ b/runtime/observatory/tests/observatory_ui/icdata_view/element_test.dart
@@ -28,20 +28,23 @@ main() {
final instances = new InstanceRepositoryMock();
test('instantiation', () {
final e = new ICDataViewElement(vm, isolate, icdata, events, notifs,
- icdatas, retainedSizes, reachableSizes, inbounds, paths, instances);
+ icdatas, retainedSizes, reachableSizes,
+ inbounds, paths, instances);
expect(e, isNotNull, reason: 'element correctly created');
expect(e.isolate, equals(isolate));
expect(e.icdata, equals(icdata));
});
test('elements created after attachment', () async {
final icdatas = new ICDataRepositoryMock(
- getter: expectAsync((i, id) async {
- expect(i, equals(isolate));
- expect(id, equals(icdata.id));
- return icdata;
- }, count: 1));
+ getter: expectAsync((i, id) async {
+ expect(i, equals(isolate));
+ expect(id, equals(icdata.id));
+ return icdata;
+ }, count: 1)
+ );
final e = new ICDataViewElement(vm, isolate, icdata, events, notifs,
- icdatas, retainedSizes, reachableSizes, inbounds, paths, instances);
+ icdatas, retainedSizes, reachableSizes,
+ inbounds, paths, 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