mirror of
https://github.com/kuhyx/screen-locker.git
synced 2026-11-21 00:12:24 +01:00
backup_service.dart (261 -> 175) + backup_service_session.dart workout_sync_service.dart (415 -> 322) + workout_sync_service_read.dart An extension method is dispatched STATICALLY, so a method a test fake overrides cannot move to one: `_FakeSync extends WorkoutSyncService` overrides pushManual and readMergedManualPayloads, and with those in an extension the real implementations ran instead of the fakes -- four manual-workout screen tests hung on pumpAndSettle rather than failing an assertion. Both are back in the class; only the private _readMergedPayloads/_fetchPayloads/_mergeRecords helpers moved. That leaves workout_sync_service.dart at 322: its public surface is what callers and fakes bind to, so going lower means changing that surface, not moving text. Static members also need qualifying inside an extension (BackupService._baseDir). 402 Dart tests; dart analyze clean; flutter coverage gate passes. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EveB813BQ8abAP68VSqZ5Y |
||
|---|---|---|
| .. | ||
| backup_service_session.dart | ||
| backup_service.dart | ||
| firebase_backend.dart | ||
| github_device_auth.dart | ||
| google_platform_io.dart | ||
| google_platform_web.dart | ||
| google_platform.dart | ||
| google_sign_in_backend.dart | ||
| http_server_service.dart | ||
| progression_sync_service.dart | ||
| storage_service_backup.dart | ||
| storage_service_exercises.dart | ||
| storage_service_schema.dart | ||
| storage_service_sessions.dart | ||
| storage_service.dart | ||
| sync_device_id.dart | ||
| sync_service.dart | ||
| sync_settings.dart | ||
| sync_state_factory.dart | ||
| sync_status.dart | ||
| workout_sync_service_read.dart | ||
| workout_sync_service.dart | ||