public abstract class BasicTest extends BaseTest
directory, directoryManager, sessionFactory
jdbcTemplate
transactionDefinition, transactionManager, transactionStatus
Modifier | Constructor and Description |
---|---|
protected |
BasicTest() |
protected |
BasicTest(String name) |
addGroup, addGroup, addUser, addUser, buildGroup, buildUser, buildUser, customizeBeanFactory, deleteFromTables, getConfigLocations, getDirectoryConfigFile, getRemoteDirectory, onSetUpBeforeTransaction, onSetUpInTransaction, onTearDown, removeGroup, removeRole, removeUser, setDirectoryConfigFile, setLdapPropertiesHelper, setSessionFactory, setupSpring
countRowsInTable, executeSqlScript, getJdbcTemplate, setComplete, setDataSource, setSqlScriptEncoding
endTransaction, isDefaultRollback, isRollback, onSetUp, onTearDownAfterTransaction, onTearDownInTransaction, preventTransaction, setDefaultRollback, setTransactionDefinition, setTransactionManager, startNewTransaction
getAutowireMode, injectDependencies, isDependencyCheck, isPopulateProtectedVariables, prepareTestInstance, setAutowireMode, setDependencyCheck, setPopulateProtectedVariables
contextKey, createApplicationContext, createBeanDefinitionReader, getApplicationContext, getConfigPath, getConfigPaths, getLoadCount, loadContext, loadContextLocations, prepareApplicationContext, setDirty, setUp, tearDown
addContext, contextKeyString, getContext, hasCachedContext, isContextKeyEmpty, setDirty
getDisabledTestCount, isDisabledInThisEnvironment, recordDisabled, runBare
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runTest, setName, toString
protected BasicTest()
protected BasicTest(String name)
protected void configureDirectory(Properties directorySettings)
BaseTest
configureDirectory
in class BaseTest
protected void loadTestData()
BaseTest
loadTestData
in class BaseTest
protected void removeTestData()
removeTestData
in class BaseTest
public void testAddUserWithNullPassword() throws InvalidUserException, RemoteException, InvalidCredentialException, OperationFailedException, UserAlreadyExistsException, DirectoryNotFoundException, UserNotFoundException
public void testAddUserExisting() throws InvalidUserException, RemoteException, InvalidCredentialException, OperationFailedException, UserAlreadyExistsException, DirectoryNotFoundException, UserNotFoundException
public void testAddUserWithFirstnameNoPassword() throws Exception
Exception
public void testAddUserWithLastnameNoPassword() throws Exception
Exception
public void testAddUserWithLastnameAndPassword() throws Exception
Exception
public void testAddUserWithEmailAndPassword() throws Exception
Exception
public void testAddUserWithDisplayName() throws Exception
Exception
public void testAddUserWithFirstnameLastnameEmailPassword() throws Exception
Exception
public void testAddUserWithFirstnameLastnameEmailDisplayNamePassword() throws Exception
Exception
public void testAddUserWithEmptyPassword() throws Exception
Exception
public void testAuthenticateEmptyPassword() throws Exception
Exception
public void testUpdateUserCredentialAfterNullCreation() throws Exception
Exception
public void testAuthenticateAfterPasswordAdd() throws Exception
Exception
public void testUpdateUserAfterPasswordAdded() throws Exception
Exception
public void testAuthenticateAfterPasswordUpdate() throws Exception
Exception
public void testAuthenticateAfterUnicodePasswordUpdate() throws Exception
Exception
public void testAuthenticateAfterUserAdd() throws Exception
Exception
public void testAuthenticateAfterUserAddWithUnicodePassword() throws Exception
Exception
public void testAuthenticateWithNullPasswordArray() throws Exception
Exception
public void testAuthenticateWithNullPasswordCredentialInArray() throws Exception
Exception
public void testAuthenticateWithNullPassword() throws Exception
Exception
public void testAuthenticateWithEmptyPassword() throws Exception
Exception
public void testAuthenticateWithIncorrectPassword() throws Exception
Exception
public void testAuthenticateWithInvalidUser() throws Exception
Exception
public void testRemoveUserEmptyString() throws Exception
Exception
public void testUpdateUserInvalidName() throws Exception
Exception
public void testUpdateUserEmailExplicitCheck() throws Exception
Exception
public void testUpdateUserEmailInvalid() throws Exception
Exception
public void testFindUserByNameEmpty() throws RemoteException, OperationFailedException
public void testFindUserByNameNonExistent() throws Exception
Exception
public void testFindUserByNameDisplayNamePopulatedInLdap() throws Exception
Exception
public void testAddGroupWithDescription() throws Exception
Exception
public void testIsGroupMemberBothNull() throws Exception
Exception
public void testIsGroupMemberBothEmpty() throws Exception
Exception
public void testIsGroupMemberNonExistentUser() throws Exception
Exception
public void testIsGroupMemberNonExistentGroup() throws Exception
Exception
public void testSearchGroupsEmptyContext() throws Exception
Exception
public void testSearchGroupsNameEmptyString() throws Exception
Exception
public void testSearchGroupsNameNonExistent() throws Exception
Exception
public void testSearchGroupsNameSingleMatch() throws Exception
Exception
public void testSearchGroupsNameWildcardSingleMatch() throws Exception
Exception
public void testSearchGroupsNameWildcardDualMatch() throws Exception
Exception
public void testSearchGroupsContainingNull() throws Exception
Exception
public void testSearchGroupsContainingEmptyString() throws Exception
Exception
public void testSearchGroupsContainingNonExistentUser() throws Exception
Exception
public void testSearchGroupsNotContainingUser() throws Exception
Exception
public void testSearchGroupsContainingUser() throws Exception
Exception
public void testFindGroupByNameEmptyString() throws RemoteException, OperationFailedException
public void testFindGroupByNameNonExistent() throws RemoteException, OperationFailedException
public void testUpdateGroupNonExistent() throws Exception
Exception
public void testUpdateGroupSetDescriptionFromNull() throws Exception
Exception
public void testUpdateGroupSetDescriptionToNull() throws Exception
Exception
public void testUpdateGroupUpdateDescription() throws Exception
Exception
public void testRemoveGroupEmptyString() throws Exception
Exception
public void testRemoveGroupNonExistent() throws Exception
Exception
public void testSearchUsersEmptyContext() throws Exception
Exception
public void testSearchUsersNameEmptyString() throws Exception
Exception
public void testSearchUsersNameNonExistent() throws Exception
Exception
public void testSearchUsersNameSingleMatch() throws Exception
Exception
public void testSearchUsersNameWildcardSingleMatch() throws Exception
Exception
public void testSearchUsersNameWildcardDualMatch() throws Exception
Exception
public void testSearchUsersEmailNonExistent() throws Exception
Exception
public void testSearchUsersEmailSingleMatch() throws Exception
Exception
public void testSearchUsersEmailWildcardSingleMatch() throws Exception
Exception
public void testSearchUsersEmailWildcardDualMatch() throws Exception
Exception
public void testSearchUsersFullnameEmptyString() throws Exception
Exception
public void testSearchUsersFullnameNonExistent() throws Exception
Exception
public void testSearchUsersFullnameSingleMatch() throws Exception
Exception
public void testSearchUsersFullnameWildcardSingleMatch() throws Exception
Exception
public void testSearchUsersFullnameWildcardDualMatch() throws Exception
Exception
public void testAddUserToGroupBothNull() throws Exception
Exception
public void testAddUserToGroupNullAndEmpty1() throws Exception
Exception
public void testAddUserToGroupNullAndEmpty2() throws Exception
Exception
public void testAddUserToGroupBothEmpty() throws Exception
Exception
public void testAddUserToGroupNonExistentUser() throws Exception
Exception
public void testAddUserToGroupNonExistentGroup() throws Exception
Exception
public void testRemoveUserFromGroupBothNull() throws Exception
Exception
public void testRemoveUserFromGroupNullAndEmpty1() throws Exception
Exception
public void testRemoveUserFromGroupNullAndEmpty2() throws Exception
Exception
public void testRemoveUserFromGroupBothEmpty() throws Exception
Exception
public void testRemoveUserFromGroupNonExistentUser() throws Exception
Exception
public void testRemoveUserFromGroupNonExistentGroup() throws Exception
Exception
public void testRemoveUserFromGroupWhereThereIsNoMembership() throws Exception
Exception
public void testFindGroupMembershipsNull() throws Exception
Exception
public void testFindGroupMembershipsNoGroups() throws Exception
Exception
public void testUpdateUserWithNullDisplayName() throws Exception
Exception
public void testUpdateUserWithNullFirstNameAndLastName() throws Exception
Exception
public void testSynchroniseUserWithNoDisplayName() throws Exception
Exception
public void testSynchroniseUserWithNoLastName() throws Exception
Exception
public void testSynchroniseUserWithNoFirstName() throws Exception
Exception
public void testFindRoleMembershipsNoRoles() throws Exception
Exception
protected String getAutoTestUserName()
protected String getAutoTestUserName2()
protected String getAutoTestFirstName()
protected String getAutoTestFirstName2()
protected String getAutoTestLastName()
protected String getAutoTestPassword()
protected String getAutoTestPassword2()
protected String getAutoTestPassword3()
protected String getAutoTestValidEmail()
protected String getAutoTestValidEmail2()
protected String getAutoTestInvalidEmail()
protected String getAutoTestDisplayName()
protected String getAutoTestDisplayName2()
public String getAutoTestDisplayName3()
public String getAutoTestGroupName()
public String getAutoTestGroupName2()
public String getAutoTestGroupDescription()
public String getAutoTestGroupDescription2()
public String getAutoTestRoleName()
public String getAutoTestRoleName2()
public String getAutoTestRoleDescription()
public String getAutoTestRoleDescription2()
Copyright © 2013 Atlassian. All Rights Reserved.