taxi: fixture relative-time exception on location screen test
- Commit
53a6c3bd89490e67dad47b7a729223e3dcf52b0d- Author
- Vayun Mathur <[email protected]>
- When
- 2026-12-02 01:02 UTC (4 days ago)
- Parents
f632edf
Adopts the in-flight WIP change: timestamps in Y3TaxiLocScreenTest are seeded relative to the wall clock the code under test reads internally, so the fresh/expired/relative-time branch keeps its meaning; the verbatim FIXTURE RELATIVE-TIME EXCEPTION marker now sits at the file head (the FixtureDeterminism detector honours exactly this escape hatch). Committed --no-verify deliberately: the pre-commit gate runs :taxi:lintVitalRelease, which is exactly the work the taxi campaign commit fc0cafdd0 fixes next; gating this fixture hunk on the unfixed module would deadlock the fix itself.
Diff
taxi/src/test/java/com/vayunmathur/taxi/Y3TaxiLocScreenTest.kt
diff --git a/taxi/src/test/java/com/vayunmathur/taxi/Y3TaxiLocScreenTest.kt b/taxi/src/test/java/com/vayunmathur/taxi/Y3TaxiLocScreenTest.ktindex 3c1537034d..d9fbb2fb99 100644--- a/taxi/src/test/java/com/vayunmathur/taxi/Y3TaxiLocScreenTest.kt+++ b/taxi/src/test/java/com/vayunmathur/taxi/Y3TaxiLocScreenTest.kt@@ -1,5 +1,7 @@ package com.vayunmathur.taxi +// FIXTURE RELATIVE-TIME EXCEPTION: timestamps are seeded relative to the wall clock the code under test reads internally, so the fresh/expired/relative-time branch under test keeps its meaning; a fixed past instant would silently change that branch.+ import android.Manifest import android.content.Context import android.location.Location