mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-10 20:27:02 +01:00
Moved the four declarations the policy is built from -- the schema version, PolicyFormatException, CurfewWindow with its midnight-wrapping contains(), and HomeLocation with its hasCoordinates guard -- to PolicyTypes.kt (48). Same package, so no call site and no import changed. Not the loader, though it is the bigger block: FocusPolicy.parse is called at eight sites, four of them in tests, and making it top-level would rewrite all of them. That also corrects an earlier reading of mine -- a declaration-name scan had `parse` down as untested, but every fixture in EnforcementFixtures.kt goes through it. The scan undercounts transitive exercise, so the seam, not the file percentage, is what decides these. 40 gradle tests and 94 flutter tests still pass, analyze clean. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011w2Pj4Ek3ZNMQVYcFHgXDY |
||
|---|---|---|
| .. | ||
| app | ||
| gradle/wrapper | ||
| .gitignore | ||
| build.gradle.kts | ||
| gradle.properties | ||
| settings.gradle.kts | ||