mirror of
https://github.com/kuhyx/screen-locker.git
synced 2026-11-24 22:46:22 +01:00
The file's four post-`main()` declarations were the blocker: FailingSyncService, OkSyncService, HangingSyncService and CountingSyncService all `extends WorkoutSyncService` and override `syncNow`. They moved to _home_test_fixtures.dart together with the `_pump` / `_wrap` locals, so both halves bind to one definition of each. home_screen_test.dart 185 navigation, resume, start-workout home_sync_card_test.dart 172 the sync-status card and its Retry tick _home_test_fixtures.dart 66 pumpHome, wrapHome, the four fakes Worth recording for the workout_sync_service.dart work still to come: these four fakes are exactly why `syncNow` cannot move into a `part` extension. Extension methods dispatch statically, so a subclass override of an extension member never runs — the real implementation would, and the tests would hang rather than fail. 402 tests pass; the name set gains only the new file's reporter lifecycle records. 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.