Initialize Android client skeleton
This commit is contained in:
20
test/widget_test.dart
Normal file
20
test/widget_test.dart
Normal file
@@ -0,0 +1,20 @@
|
||||
// This is a basic Flutter widget test.
|
||||
//
|
||||
// To perform an interaction with a widget in your test, use the WidgetTester
|
||||
// utility in the flutter_test package. For example, you can send tap and scroll
|
||||
// gestures. You can also use WidgetTester to find child widgets in the widget
|
||||
// tree, read text, and verify that the values of widget properties are correct.
|
||||
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
|
||||
import 'package:wireless_text_syncer_android/main.dart';
|
||||
|
||||
void main() {
|
||||
testWidgets('shows connection controls', (WidgetTester tester) async {
|
||||
await tester.pumpWidget(const WirelessTextSyncerApp());
|
||||
|
||||
expect(find.text('Windows IP'), findsOneWidget);
|
||||
expect(find.text('Port'), findsOneWidget);
|
||||
expect(find.text('Type here'), findsOneWidget);
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user