Package auth.gui
Class SigninTest
- java.lang.Object
-
- auth.gui.SigninTest
-
public class SigninTest extends java.lang.ObjectUnit tests for Signin controller.
-
-
Constructor Summary
Constructors Constructor Description SigninTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidauthenticate_internalServerError_onLdapException()voidauthenticate_success_writesSession_setsLastSignin_removesAttempts_andReturnsJson()voidauthenticate_unauthorized_onFailedAuth_thenNotRepeatedAfterCreate()voidauthenticate_unauthorized_onFailedAuth_thenRepeatedAfterCreate()voidauthenticate_unauthorized_onRepeatedSigninAttempt_beforeAuth()voidsetUp()
-
-
-
Method Detail
-
setUp
public void setUp()
-
authenticate_unauthorized_onRepeatedSigninAttempt_beforeAuth
public void authenticate_unauthorized_onRepeatedSigninAttempt_beforeAuth()
-
authenticate_internalServerError_onLdapException
public void authenticate_internalServerError_onLdapException() throws java.lang.Exception- Throws:
java.lang.Exception
-
authenticate_unauthorized_onFailedAuth_thenNotRepeatedAfterCreate
public void authenticate_unauthorized_onFailedAuth_thenNotRepeatedAfterCreate() throws java.lang.Exception- Throws:
java.lang.Exception
-
authenticate_unauthorized_onFailedAuth_thenRepeatedAfterCreate
public void authenticate_unauthorized_onFailedAuth_thenRepeatedAfterCreate() throws java.lang.Exception- Throws:
java.lang.Exception
-
authenticate_success_writesSession_setsLastSignin_removesAttempts_andReturnsJson
public void authenticate_success_writesSession_setsLastSignin_removesAttempts_andReturnsJson() throws java.lang.Exception- Throws:
java.lang.Exception
-
-