mirror of
https://github.com/kuhyx/screen-locker.git
synced 2026-11-28 02:09:15 +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 |
||
|---|---|---|
| .. | ||
| _history_test_fixtures.dart | ||
| _home_test_fixtures.dart | ||
| github_mirror_screen_auth_test.dart | ||
| github_mirror_screen_flow_test.dart | ||
| github_mirror_screen_push_test.dart | ||
| github_mirror_screen_test.dart | ||
| history_chart_test.dart | ||
| history_screen_test.dart | ||
| home_screen_test.dart | ||
| home_sync_card_test.dart | ||
| manual_workout_screen_test.dart | ||
| settings_screen_reset_test.dart | ||
| settings_screen_sync_test.dart | ||
| settings_screen_test.dart | ||
| settings_screen_thresholds_test.dart | ||
| workout_screen_test.dart | ||