Files
meshcore-sar_android/test/widget_test.dart
Janez T 4577dec95a feat: Implement Windows runner for Flutter application
- Added FlutterWindow class to manage the Flutter view within a Win32 window.
- Created main entry point in main.cpp to initialize and run the Flutter application.
- Implemented utility functions for console attachment and command line argument parsing.
- Added resource management for application icon and manifest.
- Enhanced Win32Window class for DPI awareness and theme management.
- Included necessary headers and resource files for building the Windows runner.
2025-11-14 09:52:00 +01:00

26 lines
938 B
Dart

// 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:meshcore_sar_app/main.dart';
void main() {
testWidgets('App launches smoke test', (WidgetTester tester) async {
// Build our app and trigger a frame.
await tester.pumpWidget(const MeshCoreSarApp());
// Verify that our app title appears.
expect(find.text('MeshCore SAR'), findsOneWidget);
// Verify the tab bar appears with tabs
expect(find.text('Messages'), findsOneWidget);
expect(find.text('Contacts'), findsOneWidget);
expect(find.text('Map'), findsOneWidget);
});
}