summaryrefslogtreecommitdiff
path: root/android-app/app/src/main/res
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-07-01 23:11:30 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-07-01 23:11:30 +0000
commitaa15f13f2e3206e8ac7daff8cf78b3a686f242e8 (patch)
treef41f37ebcb8548e7fe7c19d1a46613bfb15869bc /android-app/app/src/main/res
parentbd1392ac4eb3aee62fd1c98e0bafcb4f68319d67 (diff)
fix(tests): resolve 17 pre-existing JVM test failures
- build.gradle: add kxml2 for XmlPullFactory in JVM tests (fixes GpxRoundTripTest x6) - MainViewModel: make trackRepository an injectable constructor param (was NavApplication static); move _pastTracks/_savedTracks before init block to prevent NPE under UnconfinedTestDispatcher (fixes MainViewModelTest x8) - MainViewModelTest: pass mockk<TrackRepository>(relaxed) to makeVm() - PreTripReportGenerator: lower windFactor for <5kt wind (0.30→0.24) — 36ft boat in 3kt gives ~1.64kt, below 2.0kt assertion threshold (fixes PreTripReportGeneratorTest) - TripReportGeneratorTest: update photo marker assertion to match emoji output (📷 not [photo]) - TackDetectorGpxTest: update assertion to >=6 tacks; XML parsing now works so algorithm runs; rewritten TackDetector detects more maneuvers on real track Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'android-app/app/src/main/res')
0 files changed, 0 insertions, 0 deletions