mirror of
https://github.com/kuhyx/screen-locker.git
synced 2026-11-22 15:52:18 +01:00
Groundwork for splitting workout_sync_service_test.dart (740). The file's shared helpers had to leave it first: `_cutoverTests` and `_manualWorkoutSurvivalTests` are declared after `main()` and both reach back into preamble helpers, so any split would have stranded one side of the file from the fixtures it calls. Moved and made public (a sibling import cannot see `_`-private names): `_response`→syncResponse, `_fileContaining`→fileContaining, `_PutCall`→PutCall, `_mockGitHub`→mockGitHub, `_session`→workoutSession, `_logPut`→logPut, `_service`→syncService, `_fakeFirebase`→fakeFirebase. `_manual` was a *local* function inside `main()` — the exact shape that broke history_screen_test.dart last time, where both halves of a split get the preamble copy but the second half's references resolve wrong. It is now the top-level `manualRecord` in the fixtures file, so it survives the split. Pure move: no test added, removed, renamed or reordered. 402 tests pass and the test-name set diffs byte-identical against the pre-change baseline. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EveB813BQ8abAP68VSqZ5Y |
||
|---|---|---|
| .. | ||
| workout_app | ||
| design.md | ||
| dfesign_v2.md | ||