Gradle Test Run :app:testDevDebugUnitTest

AuthRepositoryImplTest

summary

37

tests

0

failures

0

skipped

7.211s

duration

100%

successful

Child Tests Failures Skipped Duration Success rate
a fully resolved identity is written through to the cache 1 0 0 0.183s 100%
an identity resolved before its cohort is cached anyway 1 0 0 0.068s 100%
an identity with no uniqueId is not cached 1 0 0 0.196s 100%
currentFirebaseUid returns firebase uid 1 0 0 0.189s 100%
currentFirebaseUid returns null when not signed in 1 0 0 0.116s 100%
currentUserId falls back to firebase uid when resolvedUniqueId is null 1 0 0 0.126s 100%
currentUserId prefers resolvedUniqueId over firebase uid 1 0 0 0.127s 100%
currentUserId returns null when not signed in 1 0 0 0.080s 100%
currentUserId returns uid when signed in 1 0 0 0.099s 100%
getProviderInfo returns apple provider with uid 1 0 0 0.139s 100%
getProviderInfo returns email provider 1 0 0 0.682s 100%
getProviderInfo returns google provider with email 1 0 0 0.091s 100%
getProviderInfo returns null for google without email 1 0 0 0.133s 100%
getProviderInfo returns null when not signed in 1 0 0 0.096s 100%
getProviderInfo skips firebase provider and returns google 1 0 0 0.100s 100%
isAuthenticated returns false when no user 1 0 0 0.108s 100%
isAuthenticated returns true when user exists 1 0 0 0.122s 100%
refreshIdToken calls getIdToken with forceRefresh=true on success 1 0 0 0.161s 100%
refreshIdToken invalidates the API client's cached bearer token 1 0 0 0.263s 100%
refreshIdToken returns Error when getIdToken fails 1 0 0 0.175s 100%
refreshIdToken returns Error when no signed-in user 1 0 0 0.118s 100%
refreshIdToken with no signed-in user errors AND still clears the token cache 1 0 0 0.143s 100%
sendSignInLink calls Firebase sendSignInLinkToEmail 1 0 0 0.070s 100%
sendSignInLink returns Error on exception 1 0 0 0.199s 100%
signInWithAppleIdToken builds credential via setIdTokenWithRawNonce, never via setAccessToken(rawNonce) 1 0 0 0.210s 100%
signInWithAppleIdToken returns Error on failure 1 0 0 0.261s 100%
signInWithEmailLink authenticates and returns uid 1 0 0 0.156s 100%
signInWithEmailLink returns Error on failure 1 0 0 0.422s 100%
signInWithGoogleIdToken returns Error on exception 1 0 0 0.363s 100%
signInWithGoogleIdToken returns Error when user is null 1 0 0 0.197s 100%
signInWithGoogleIdToken returns Success with uid 1 0 0 0.267s 100%
signOut calls auth signOut 1 0 0 0.972s 100%
signOut clears resolvedUniqueId 1 0 0 0.127s 100%
signOut invalidates the API token cache BEFORE dropping the Firebase session 1 0 0 0.157s 100%
signOut leaves no identity on disk 1 0 0 0.079s 100%
signOut leaves no identity on disk even when the platform sign-out throws 1 0 0 0.086s 100%
signOut still clears the token cache when the platform sign-out throws 1 0 0 0.108s 100%