mirror of
https://github.com/Auties00/Reboot-Launcher.git
synced 2026-01-14 11:39:17 +01:00
Made build portable
This commit is contained in:
23
dependencies/fluent_ui-3.12.0/test/expander_test.dart
vendored
Normal file
23
dependencies/fluent_ui-3.12.0/test/expander_test.dart
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
import 'package:fluent_ui/fluent_ui.dart';
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
|
||||
import 'app_test.dart';
|
||||
|
||||
void main() {
|
||||
final expanderKey = GlobalKey<ExpanderState>();
|
||||
|
||||
testWidgets('Expander intiallyExpanded works properly', (tester) async {
|
||||
await tester.pumpWidget(
|
||||
wrapApp(
|
||||
child: Expander(
|
||||
key: expanderKey,
|
||||
initiallyExpanded: true,
|
||||
header: const Text('Header'),
|
||||
content: const Text('Content'),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
expect(expanderKey.currentState!.open, true);
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user