Gradle Test Run :app:testDevDebugUnitTest

HomeViewModelTest

summary

43

tests

0

failures

0

skipped

3.724s

duration

100%

successful

Child Tests Failures Skipped Duration Success rate
adult viewer sees only adult-owned rooms when batch is mixed 1 0 0 0.052s 100%
cancelReplaceRoom dismisses confirmation 1 0 0 0.055s 100%
clearError clears error 1 0 0 0.047s 100%
closed room is excluded from list 1 0 0 0.037s 100%
cohort gate fails closed when viewer User cannot be resolved 1 0 0 0.023s 100%
cohortOverride on viewer is honoured by the gate 1 0 0 0.072s 100%
confirmReplaceRoom closes old rooms then creates new 1 0 0 0.117s 100%
createRoom clears previous error before starting 1 0 0 0.067s 100%
createRoom error sets error 1 0 0 0.063s 100%
createRoom falls back to minor cohort when user lookup fails 1 0 0 0.092s 100%
createRoom honours cohortOverride above cohort field 1 0 0 0.048s 100%
createRoom ignores invalid cohortOverride and uses cohort field 1 0 0 0.056s 100%
createRoom passes minor cohort when user is minor 1 0 0 0.051s 100%
createRoom persists lastRoomName via updateProfile 1 0 0 0.059s 100%
createRoom proceeds when no active room exists after close 1 0 0 0.054s 100%
createRoom shows confirmation when user has active room 1 0 0 0.044s 100%
createRoom stores lastRoomName in state 1 0 0 0.059s 100%
createRoom with no existing room creates directly 1 0 0 0.128s 100%
createRoom with null auth user does nothing 1 0 0 0.044s 100%
cross-cohort seated user is redacted from seatUsers map 1 0 0 0.034s 100%
doCreateRoom uses effectiveCohort with invalid cohort falling back to minor 1 0 0 0.047s 100%
empty rooms list shows empty state 1 0 0 0.022s 100%
init loads lastRoomName from user profile 1 0 0 0.016s 100%
isLoading becomes false after rooms emit 1 0 0 0.025s 100%
lastRoomName defaults to empty 1 0 0 0.023s 100%
minor viewer drops adult-owned room 1 0 0 0.040s 100%
multiple rooms with mixed blocked and normal owners 1 0 0 0.038s 100%
normal room is included 1 0 0 0.041s 100%
observeRooms flow error sets error state 1 0 0 0.053s 100%
onRoomNavigated clears createdRoomId 1 0 0 0.048s 100%
own room is sorted first 1 0 0 0.050s 100%
refreshRooms clears user cache and re-fetches users 1 0 0 0.072s 100%
refreshRooms reloads blocked users and re-filters 1 0 0 0.040s 100%
refreshRooms sets isRefreshing false after completion 1 0 0 0.032s 100%
room owned by blocked user is excluded 1 0 0 0.042s 100%
room whose owner blocked current user is excluded 1 0 0 0.047s 100%
rooms the user participates in are sorted first 1 0 0 0.021s 100%
seatUsers map is populated for occupied seats in visible rooms 1 0 0 0.017s 100%
setActive false stops periodic refresh 1 0 0 0.049s 100%
setActive starts periodic refresh 1 0 0 0.048s 100%
signOut calls auth signOut 1 0 0 1.642s 100%
signOut calls authRepository even without rooms 1 0 0 0.016s 100%
signOut does not crash when authRepository throws 1 0 0 0.051s 100%