Skip to content

Test Result : UstadAccountManagerTest

0 failures
9 tests
Took 1.2 sec.

All Tests

Test nameDurationStatus
givenAccountRequiresParentalConsent_whenLoginCalled_thenShouldThrowException[jvm]0.17 secPassed
givenActiveAccount_whenIncomingReplicationMakesUserSessionInactive_thenShouldEndSession[jvm]0.17 secPassed
givenInvalidLoginCredentials_whenLoginCalled_thenShouldThrowException[jvm]0.12 secPassed
givenNoUserInPrefKeys_whenInitialized_shouldInitGuestAccountOnDefaultServer[jvm]76 msPassed
givenTwoStoredAccounts_whenSetActiveAccountCalled_thenActiveAccountShouldChangeAndAllRemainInStoredAccounts[jvm]0.16 secPassed
givenUnreachableServer_whenLoginCalled_thenShouldThrowException[jvm]0.1 secPassed
givenValidLoginCredentials_whenLoginCalledForFirstLogin_shouldInitLogin[jvm]0.13 secPassed
givenValidLoginCredentials_whenLoginCalledForSecondAccountOnSameServer_shouldAddAccount[jvm]0.17 secPassed
givenValidRegistrationRequest_whenNewAccountRequested_thenShouldBeRequestedOnServerAndActive[jvm]0.14 secPassed