Flutter-Tests: ApiClient, Offline-Queue, Login-/Objektliste-Widgets
ApiClient nimmt jetzt einen injizierbaren http.Client entgegen (Testbarkeit, kein Verhaltensunterschied im Betrieb). Tests mocken ihn mit mocktail statt echter Netzwerkaufrufe. offline_queue_test.dart nutzt sqflite_common_ffi (reines Dart) für die Queue-Logik ohne Gerät/Emulator: Erfolg entfernt Eintrag, Netzwerkfehler bleibt "wartet", 4xx setzt "fehler" ohne Auto-Retry. Dazu Widget-Tests für Login-Flow und Objektliste-Suchfilter. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CVgbozhYmuEhiEJHffRXCV
This commit is contained in:
@@ -2783,3 +2783,19 @@ Keine Commits in dieser Session.
|
||||
- deploy/mabea-eskalation.timer.template | 12 ++++++
|
||||
|
||||
---
|
||||
## 2026-09-04 18:35 – 18:36 (0m)
|
||||
**Beschreibung:** Claude Code Session
|
||||
**Projekt:** flutter_app
|
||||
|
||||
### Commits
|
||||
- c68d39b Flutter: Offline-Queue für Kontroll-Erfassung (Prompt 17-Härtung)
|
||||
|
||||
### Geänderte Dateien
|
||||
- DEVLOG.md | 30 ++++
|
||||
- flutter_app/DEVLOG.md | 15 ++
|
||||
- flutter_app/README.md | 18 ++-
|
||||
- flutter_app/lib/offline/queue.dart | 205 ++++++++++++++++++++++++
|
||||
- flutter_app/lib/screens/kontroll_screen.dart | 225 +++++++++++++++++++--------
|
||||
- flutter_app/pubspec.yaml | 3 +
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user