Skip to content

Test Result : LoginViewModelTest

0 failures (±0)
6 tests (±0)
Took 89 ms.

All Tests

Test nameDurationStatus
givenEmptyUsernameAndPassword_whenLoginCalled_thenShouldShowError[jvm]25 msPassed
givenGuestConnectionAllowedOrNot_whenCreated_thenGuestButtonVisibiltyShouldMatch[jvm]42 msPassed
givenInvalidUsernameAndPassword_whenHandleLoginCalled_thenShouldCallSetErrorMessage[jvm]4 msPassed
givenServerOffline_whenCreated_thenShouldShowErrorMessage[jvm]4 msPassed
givenUsernameOrPasswordContainsSpacePadding_whenLoginCalled_thenShouldTrimSpace[jvm]4 msPassed
givenValidUsernameAndPassword_whenFromDestinationArgumentIsProvidedAndHandleLoginClicked_shouldGoToNextScreenAndInvalidateSync[jvm]10 msPassed