Skip to content

Test Result : UstadAccountManagerTest

0 failures (±0)
9 tests (±0)
Took 1.9 sec.

All Tests

Test nameDurationStatus
givenAccountRequiresParentalConsent_whenLoginCalled_thenShouldThrowException[jvm]0.38 secPassed
givenActiveAccount_whenIncomingReplicationMakesUserSessionInactive_thenShouldEndSession[jvm]0.22 secPassed
givenInvalidLoginCredentials_whenLoginCalled_thenShouldThrowException[jvm]0.16 secPassed
givenNoUserInPrefKeys_whenInitialized_shouldInitGuestAccountOnDefaultServer[jvm]0.11 secPassed
givenTwoStoredAccounts_whenSetActiveAccountCalled_thenActiveAccountShouldChangeAndAllRemainInStoredAccounts[jvm]0.27 secPassed
givenUnreachableServer_whenLoginCalled_thenShouldThrowException[jvm]0.23 secPassed
givenValidLoginCredentials_whenLoginCalledForFirstLogin_shouldInitLogin[jvm]0.15 secPassed
givenValidLoginCredentials_whenLoginCalledForSecondAccountOnSameServer_shouldAddAccount[jvm]0.23 secPassed
givenValidRegistrationRequest_whenNewAccountRequested_thenShouldBeRequestedOnServerAndActive[jvm]0.13 secPassed