Gradle Test Run :app:testDevDebugUnitTest

DeviceRepositoryImplTest

summary

11

tests

0

failures

0

skipped

0.098s

duration

100%

successful

Child Tests Failures Skipped Duration Success rate
checkBanStatus calls the UNAUTHENTICATED ban endpoint, never device-info 1 0 0 0.010s 100%
checkBanStatus returns device ban 1 0 0 0.006s 100%
checkBanStatus returns network ban 1 0 0 0.008s 100%
checkBanStatus returns not banned on API exception 1 0 0 0.005s 100%
checkBanStatus returns not banned when banStatus isBanned is false 1 0 0 0.006s 100%
checkBanStatus URL-encodes the deviceId into the query string 1 0 0 0.006s 100%
resolveDeviceLock defaults to ALLOWED when status is absent (fail-open on a malformed but successful response) 1 0 0 0.010s 100%
resolveDeviceLock maps status=allowed to ALLOWED 1 0 0 0.009s 100%
resolveDeviceLock maps status=locked to LOCKED 1 0 0 0.008s 100%
resolveDeviceLock POSTs to the lock-check path with the deviceId in the body 1 0 0 0.012s 100%
resolveDeviceLock returns Error on API exception (lenient — VM proceeds) 1 0 0 0.011s 100%