Package auth.gui

Class SigninTest


  • public class SigninTest
    extends java.lang.Object
    Unit tests for Signin controller.
    • Constructor Detail

      • SigninTest

        public SigninTest()
    • 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