dart format whole tree

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-05-03 21:51:59 +02:00
co-authored by Claude
parent c436e72c5c
commit 9c7ec008dc
102 changed files with 1176 additions and 1282 deletions
+2 -4
View File
@@ -33,14 +33,12 @@ void main() {
expect(node.hasFocus, isTrue);
});
testWidgets('interactive widgets expose tap actions to a11y',
(tester) async {
testWidgets('interactive widgets expose tap actions to a11y', (tester) async {
await tester.pumpWidget(
harness(f, ClideButton(label: 'Save', onPressed: () {})),
);
final handle = tester.ensureSemantics();
final data =
tester.getSemantics(find.byType(ClideButton)).getSemanticsData();
final data = tester.getSemantics(find.byType(ClideButton)).getSemanticsData();
expect(data.hasAction(SemanticsAction.tap), isTrue);
handle.dispose();
});
+3 -7
View File
@@ -34,19 +34,15 @@ void main() {
test('tab contributions carry title + i18n key + namespace', () {
final tabs = ext.contributions.whereType<TabContribution>().toList();
for (final t in tabs) {
expect(t.title, isNotEmpty,
reason: '${ext.id} tab ${t.id} missing English title');
expect(t.title, isNotEmpty, reason: '${ext.id} tab ${t.id} missing English title');
if (t.titleKey != null) {
expect(t.i18nNamespace, isNotNull,
reason:
'${ext.id} tab ${t.id} has titleKey but no namespace');
expect(t.i18nNamespace, isNotNull, reason: '${ext.id} tab ${t.id} has titleKey but no namespace');
}
}
});
test('command contributions carry stable ids', () {
final cmds =
ext.contributions.whereType<CommandContribution>().toList();
final cmds = ext.contributions.whereType<CommandContribution>().toList();
for (final c in cmds) {
expect(c.command, isNotEmpty);
expect(c.id, isNotEmpty);