mirror of
https://github.com/Iconica-Development/flutter_image_picker.git
synced 2025-05-18 11:43:44 +02:00
added test files
This commit is contained in:
parent
8436a417ae
commit
4953dbe853
3 changed files with 6 additions and 23 deletions
|
@ -1,22 +0,0 @@
|
|||
|
||||
// import 'package:flutter/material.dart';
|
||||
// import 'package:flutter_test/flutter_test.dart';
|
||||
|
||||
// import '../lib/main.dart';
|
||||
|
||||
// void main() {
|
||||
// testWidgets("Test Main widget", ((WidgetTester tester) async {
|
||||
// // Initialization
|
||||
// final openImagePickerButton = find.byKey(const ValueKey("PickImageButton"));
|
||||
|
||||
// // Execute Test
|
||||
// await tester.pumpWidget(const MaterialApp(
|
||||
// home:
|
||||
// ImagePickerExampleHomePage(title: 'Flutter Image Picker Example')));
|
||||
// await tester.tap(openImagePickerButton);
|
||||
// await tester.pump();
|
||||
|
||||
// // Check Result
|
||||
// // expect(, findsOneWidget);
|
||||
// }));
|
||||
// }
|
|
@ -1 +1,3 @@
|
|||
|
||||
main() {
|
||||
|
||||
}
|
||||
|
|
3
test/src/ui/image_picker_ui_test.dart
Normal file
3
test/src/ui/image_picker_ui_test.dart
Normal file
|
@ -0,0 +1,3 @@
|
|||
main() {
|
||||
|
||||
}
|
Loading…
Reference in a new issue