Gradle Test Run :app:testDevDebugUnitTest

AuthRepositoryImplTest

summary

37

tests

0

failures

0

skipped

8.379s

duration

100%

successful

Child Tests Failures Skipped Duration Success rate
a fully resolved identity is written through to the cache 1 0 0 0.382s 100%
an identity resolved before its cohort is cached anyway 1 0 0 0.218s 100%
an identity with no uniqueId is not cached 1 0 0 0.252s 100%
currentFirebaseUid returns firebase uid 1 0 0 0.153s 100%
currentFirebaseUid returns null when not signed in 1 0 0 0.236s 100%
currentUserId falls back to firebase uid when resolvedUniqueId is null 1 0 0 0.231s 100%
currentUserId prefers resolvedUniqueId over firebase uid 1 0 0 0.110s 100%
currentUserId returns null when not signed in 1 0 0 0.181s 100%
currentUserId returns uid when signed in 1 0 0 0.112s 100%
getProviderInfo returns apple provider with uid 1 0 0 0.102s 100%
getProviderInfo returns email provider 1 0 0 0.913s 100%
getProviderInfo returns google provider with email 1 0 0 0.129s 100%
getProviderInfo returns null for google without email 1 0 0 0.069s 100%
getProviderInfo returns null when not signed in 1 0 0 0.122s 100%
getProviderInfo skips firebase provider and returns google 1 0 0 0.140s 100%
isAuthenticated returns false when no user 1 0 0 0.074s 100%
isAuthenticated returns true when user exists 1 0 0 0.091s 100%
refreshIdToken calls getIdToken with forceRefresh=true on success 1 0 0 0.245s 100%
refreshIdToken invalidates the API client's cached bearer token 1 0 0 0.247s 100%
refreshIdToken returns Error when getIdToken fails 1 0 0 0.128s 100%
refreshIdToken returns Error when no signed-in user 1 0 0 0.204s 100%
refreshIdToken with no signed-in user errors AND still clears the token cache 1 0 0 0.264s 100%
sendSignInLink calls Firebase sendSignInLinkToEmail 1 0 0 0.208s 100%
sendSignInLink returns Error on exception 1 0 0 0.160s 100%
signInWithAppleIdToken builds credential via setIdTokenWithRawNonce, never via setAccessToken(rawNonce) 1 0 0 0.073s 100%
signInWithAppleIdToken returns Error on failure 1 0 0 0.109s 100%
signInWithEmailLink authenticates and returns uid 1 0 0 0.111s 100%
signInWithEmailLink returns Error on failure 1 0 0 0.342s 100%
signInWithGoogleIdToken returns Error on exception 1 0 0 0.145s 100%
signInWithGoogleIdToken returns Error when user is null 1 0 0 0.156s 100%
signInWithGoogleIdToken returns Success with uid 1 0 0 0.174s 100%
signOut calls auth signOut 1 0 0 1.480s 100%
signOut clears resolvedUniqueId 1 0 0 0.152s 100%
signOut invalidates the API token cache BEFORE dropping the Firebase session 1 0 0 0.079s 100%
signOut leaves no identity on disk 1 0 0 0.230s 100%
signOut leaves no identity on disk even when the platform sign-out throws 1 0 0 0.228s 100%
signOut still clears the token cache when the platform sign-out throws 1 0 0 0.120s 100%