mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-16 01:00:17 +01:00
Extract the on-link decision into a pure function, test it with the Android 17 SDK through Robolectric's connectivity shadows, and exercise the gate's grant, denial, cancellation and stale-check paths with a fake checker. The SDK 37 shadow needs jdk.internal.access exported to the test JVM.