Index

D J L N R S T 
All Classes and Interfaces|All Packages

D

disallowConcurrentLogins() - Method in class jmockit.loginExample.domain.userLogin.LoginServiceIntegrationTest
Disallow concurrent logins.
disallowConcurrentLogins() - Method in class jmockit.loginExample.domain.userLogin.LoginServiceNGTest
Disallow concurrent logins.
disallowLoggingIntoRevokedAccount() - Method in class jmockit.loginExample.domain.userLogin.LoginServiceIntegrationTest
Disallow logging into revoked account.
disallowLoggingIntoRevokedAccount() - Method in class jmockit.loginExample.domain.userLogin.LoginServiceNGTest
Disallow logging into revoked account.

J

jmockit.loginExample.domain.userLogin - package jmockit.loginExample.domain.userLogin
 

L

LoginServiceIntegrationTest - Class in jmockit.loginExample.domain.userLogin
Equivalent to LoginServiceNGTest, but with minimal mocking and no redundant tests.
LoginServiceIntegrationTest() - Constructor for class jmockit.loginExample.domain.userLogin.LoginServiceIntegrationTest
 
LoginServiceNGTest - Class in jmockit.loginExample.domain.userLogin
A small TestNG test suite for a single class (LoginService), based on this article.
LoginServiceNGTest() - Constructor for class jmockit.loginExample.domain.userLogin.LoginServiceNGTest
 

N

notRevokeSecondAccountAfterTwoFailedAttemptsOnFirstAccount() - Method in class jmockit.loginExample.domain.userLogin.LoginServiceIntegrationTest
Not revoke second account after two failed attempts on first account.
notRevokeSecondAccountAfterTwoFailedAttemptsOnFirstAccount() - Method in class jmockit.loginExample.domain.userLogin.LoginServiceNGTest
Not revoke second account after two failed attempts on first account.
notSetAccountLoggedInIfPasswordDoesNotMatch() - Method in class jmockit.loginExample.domain.userLogin.LoginServiceNGTest
This test is also redundant, as it exercises the same path as the previous one.

R

resetBackToInitialStateAfterSuccessfulLogin() - Method in class jmockit.loginExample.domain.userLogin.LoginServiceNGTest
Reset back to initial state after successful login.

S

setAccountToLoggedInWhenPasswordMatches() - Method in class jmockit.loginExample.domain.userLogin.LoginServiceIntegrationTest
Sets the account to logged in when password matches.
setAccountToLoggedInWhenPasswordMatches() - Method in class jmockit.loginExample.domain.userLogin.LoginServiceNGTest
This test is redundant, as it exercises the same path as the last test.
setAccountToRevokedAfterThreeFailedLoginAttempts() - Method in class jmockit.loginExample.domain.userLogin.LoginServiceIntegrationTest
Sets the account to revoked after three failed login attempts.
setAccountToRevokedAfterThreeFailedLoginAttempts() - Method in class jmockit.loginExample.domain.userLogin.LoginServiceNGTest
Sets the account to revoked after three failed login attempts.
setUpOneAccountToBeFound() - Method in class jmockit.loginExample.domain.userLogin.LoginServiceIntegrationTest
Sets the up one account to be found.

T

throwExceptionIfAccountNotFound() - Method in class jmockit.loginExample.domain.userLogin.LoginServiceIntegrationTest
Throw exception if account not found.
throwExceptionIfAccountNotFound() - Method in class jmockit.loginExample.domain.userLogin.LoginServiceNGTest
Throw exception if account not found.
D J L N R S T 
All Classes and Interfaces|All Packages