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:
@@ -31,3 +31,19 @@ Keine Commits in dieser Session.
|
||||
- deploy/mabea-eskalation.timer.template | 12 ++++++
|
||||
|
||||
---
|
||||
## 2026-09-04 18:36 – 18:38 (1m)
|
||||
**Beschreibung:** Claude Code Session
|
||||
**Projekt:** asb-material
|
||||
|
||||
### Commits
|
||||
Keine Commits in dieser Session.
|
||||
|
||||
### 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