mirror of
https://github.com/kuhyx/screen-locker.git
synced 2026-11-11 22:13:54 +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 |
||
|---|---|---|
| .. | ||
| android | ||
| assets | ||
| lib | ||
| test | ||
| .gitignore | ||
| .metadata | ||
| analysis_options.yaml | ||
| CONTEXT.md | ||
| pubspec.lock | ||
| pubspec.yaml | ||
| README.md | ||
workout_app
A new Flutter project.
Getting Started
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.