com.atlassian.crowd.acceptance.tests.directory
Class ApacheDS154Test.CachingApacheBasicTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.springframework.test.ConditionalTestCase
              extended by org.springframework.test.AbstractSpringContextTests
                  extended by org.springframework.test.AbstractSingleSpringContextTests
                      extended by org.springframework.test.AbstractDependencyInjectionSpringContextTests
                          extended by com.atlassian.crowd.acceptance.tests.directory.BaseTest
                              extended by com.atlassian.crowd.acceptance.tests.directory.BasicTest
                                  extended by com.atlassian.crowd.acceptance.tests.directory.ApacheDS154Test.CachingApacheBasicTest
All Implemented Interfaces:
junit.framework.Test
Enclosing class:
ApacheDS154Test

public static class ApacheDS154Test.CachingApacheBasicTest
extends BasicTest


Field Summary
 
Fields inherited from class com.atlassian.crowd.acceptance.tests.directory.BaseTest
directory
 
Fields inherited from class org.springframework.test.AbstractDependencyInjectionSpringContextTests
AUTOWIRE_BY_NAME, AUTOWIRE_BY_TYPE, AUTOWIRE_NO
 
Fields inherited from class org.springframework.test.AbstractSingleSpringContextTests
applicationContext
 
Constructor Summary
ApacheDS154Test.CachingApacheBasicTest()
           
 
Method Summary
 void onTearDown()
           
 void setDirectoryCacheManager(DirectoryCacheManager directoryCacheManager)
           
 void setEventManager(com.atlassian.event.EventManager eventManager)
           
 
Methods inherited from class com.atlassian.crowd.acceptance.tests.directory.BasicTest
getAutoTestDescription, getAutoTestDescription2, getAutoTestDescription3, getAutoTestFirstName, getAutoTestFirstName2, getAutoTestGroupDescription, getAutoTestGroupDescription2, getAutoTestGroupName, getAutoTestGroupName2, getAutoTestInvalidEmail, getAutoTestLastName, getAutoTestPassword, getAutoTestPassword2, getAutoTestRoleDescription, getAutoTestRoleDescription2, getAutoTestRoleName, getAutoTestRoleName2, getAutoTestUserName, getAutoTestUserName2, getAutoTestValidEmail, getAutoTestValidEmail2, loadTestData, removeTestData, testAddGroup, testAddGroupEmptyName, testAddGroupExisting, testAddGroupNoName, testAddGroupNull, testAddGroupNullName, testAddGroupWithDescription, testAddPrincipalExisting, testAddPrincipalInactive, testAddPrincipalNull, testAddPrincipalToGroup, testAddPrincipalToGroupAgain, testAddPrincipalToGroupBothEmpty, testAddPrincipalToGroupBothNull, testAddPrincipalToGroupNonExistentGroup, testAddPrincipalToGroupNonExistentPrincipal, testAddPrincipalToGroupNullAndEmpty1, testAddPrincipalToGroupNullAndEmpty2, testAddPrincipalToRole, testAddPrincipalToRoleAgain, testAddPrincipalToRoleBothEmpty, testAddPrincipalToRoleBothNull, testAddPrincipalToRoleNonExistentPrincipal, testAddPrincipalToRoleNonExistentRole, testAddPrincipalToRoleNullAndEmpty1, testAddPrincipalToRoleNullAndEmpty2, testAddPrincipalToTwoGroups, testAddPrincipalWithDescriptionEmpty, testAddPrincipalWithDescriptionNull, testAddPrincipalWithEmail, testAddPrincipalWithEmptyPassword, testAddPrincipalWithFirstname, testAddPrincipalWithFirstnameLastnameEmailPassword, testAddPrincipalWithFirstnameNoPassword, testAddPrincipalWithInvalidEmail, testAddPrincipalWithLastname, testAddPrincipalWithLastnameNoPassword, testAddPrincipalWithNullPassword, testAddPrincipalWithPassword, testAddRole, testAddRoleEmptyName, testAddRoleExisting, testAddRoleNoName, testAddRoleNull, testAddRoleNullName, testAuthenticateAfterPasswordAdd, testAuthenticateAfterPasswordUpdate, testAuthenticateAfterPrincipalAdd, testAuthenticateEmptyPassword, testAuthenticateWithEmptyPassword, testAuthenticateWithIncorrectPassword, testAuthenticateWithInvalidUser, testAuthenticateWithNullPassword, testAuthenticateWithNullPasswordArray, testAuthenticateWithNullPasswordCredentialInArray, testFindGroupByName, testFindGroupByNameEmptyString, testFindGroupByNameNonExistent, testFindGroupByNameNull, testFindGroupMemberships, testFindGroupMembershipsEmpty, testFindGroupMembershipsNoGroups, testFindGroupMembershipsNonExistent, testFindGroupMembershipsNull, testFindPrincipalByName, testFindPrincipalByNameEmpty, testFindPrincipalByNameNonExistent, testFindPrincipalByNameNull, testFindRoleByName, testFindRoleByNameEmptyString, testFindRoleByNameNonExistent, testFindRoleByNameNull, testFindRoleMemberships, testFindRoleMembershipsEmpty, testFindRoleMembershipsNonExistent, testFindRoleMembershipsNoRoles, testFindRoleMembershipsNull, testIsGroupMember, testIsGroupMemberBothEmpty, testIsGroupMemberBothNull, testIsGroupMemberNonExistentGroup, testIsGroupMemberNonExistentPrincipal, testIsGroupMemberNullAndEmpty1, testIsGroupMemberNullAndEmpty2, testIsRoleMember, testIsRoleMemberBothEmpty, testIsRoleMemberBothNull, testIsRoleMemberNonExistentGroup, testIsRoleMemberNonExistentPrincipal, testIsRoleMemberNullAndEmpty1, testIsRoleMemberNullAndEmpty2, testRemoveGroup, testRemoveGroupEmptyString, testRemoveGroupNonExistent, testRemoveGroupNull, testRemovePrincipal, testRemovePrincipalEmptyString, testRemovePrincipalFromGroup, testRemovePrincipalFromGroupBothEmpty, testRemovePrincipalFromGroupBothNull, testRemovePrincipalFromGroupNonExistentGroup, testRemovePrincipalFromGroupNonExistentPrincipal, testRemovePrincipalFromGroupNullAndEmpty1, testRemovePrincipalFromGroupNullAndEmpty2, testRemovePrincipalFromRole, testRemovePrincipalFromRoleBothEmpty, testRemovePrincipalFromRoleBothNull, testRemovePrincipalFromRoleNonExistentGroup, testRemovePrincipalFromRoleNonExistentPrincipal, testRemovePrincipalFromRoleNullAndEmpty1, testRemovePrincipalFromRoleNullAndEmpty2, testRemovePrincipalInvalid, testRemovePrincipalNull, testRemoveRole, testRemoveRoleEmptyString, testRemoveRoleNonExistent, testRemoveRoleNull, testSearchGroupsContainingEmptyString, testSearchGroupsContainingNonExistentUser, testSearchGroupsContainingNull, testSearchGroupsContainingUser, testSearchGroupsContainingUser13SearchContextBehaviour, testSearchGroupsEmptyContext, testSearchGroupsNameEmptyString, testSearchGroupsNameNonExistent, testSearchGroupsNameSingleMatch, testSearchGroupsNameWildcardDualMatch, testSearchGroupsNameWildcardSingleMatch, testSearchGroupsNotContainingUser, testSearchGroupsNull, testSearchPrincipalsEmailEmptyString, testSearchPrincipalsEmailNonExistent, testSearchPrincipalsEmailSingleMatch, testSearchPrincipalsEmailWildcardDualMatch, testSearchPrincipalsEmailWildcardSingleMatch, testSearchPrincipalsEmptyContext, testSearchPrincipalsNameEmptyString, testSearchPrincipalsNameNonExistent, testSearchPrincipalsNameSingleMatch, testSearchPrincipalsNameWildcardDualMatch, testSearchPrincipalsNameWildcardSingleMatch, testSearchPrincipalsNull, testSearchRolesContainingEmptyString, testSearchRolesContainingNonExistentUser, testSearchRolesContainingNull, testSearchRolesContainingUser, testSearchRolesEmptyContext, testSearchRolesNameEmptyString, testSearchRolesNameNonExistent, testSearchRolesNameSingleMatch, testSearchRolesNameWildcardDualMatch, testSearchRolesNameWildcardSingleMatch, testSearchRolesNotContainingUser, testSearchRolesNull, testSearchRolesWith13SearchContextBehaviour, testUpdateGroupEmptyName, testUpdateGroupNoName, testUpdateGroupNonExistent, testUpdateGroupNull, testUpdateGroupSetActive, testUpdateGroupSetDescriptionFromNull, testUpdateGroupSetDescriptionToNull, testUpdateGroupUpdateDescription, testUpdatePrincipalAfterPasswordAdded, testUpdatePrincipalCredentialAfterNullCreation, testUpdatePrincipalDescriptionEmpty, testUpdatePrincipalDescriptionNoExisting, testUpdatePrincipalDescriptionNull, testUpdatePrincipalEmail, testUpdatePrincipalEmailExplicitCheck, testUpdatePrincipalEmailInvalid, testUpdatePrincipalEmpty, testUpdatePrincipalEmptyName, testUpdatePrincipalInvalidName, testUpdatePrincipalNull, testUpdatePrincipalNullName, testUpdateRoleEmptyName, testUpdateRoleNoName, testUpdateRoleNonExistent, testUpdateRoleNull
 
Methods inherited from class com.atlassian.crowd.acceptance.tests.directory.BaseTest
addGroup, addUser, buildGroup, buildUser, configureDirectory, getConfigLocations, getDirectory, getDirectoryConfigFile, onSetUp, removeGroup, removeRole, removeUser, setDirectoryConfigFile, setLdapPropertiesHelper, setupSpring
 
Methods inherited from class org.springframework.test.AbstractDependencyInjectionSpringContextTests
getAutowireMode, injectDependencies, isDependencyCheck, isPopulateProtectedVariables, prepareTestInstance, setAutowireMode, setDependencyCheck, setPopulateProtectedVariables
 
Methods inherited from class org.springframework.test.AbstractSingleSpringContextTests
contextKey, createApplicationContext, customizeBeanFactory, getApplicationContext, getConfigPath, getConfigPaths, getLoadCount, loadContext, loadContextLocations, setDirty, setUp, tearDown
 
Methods inherited from class org.springframework.test.AbstractSpringContextTests
addContext, contextKeyString, getContext, hasCachedContext, setDirty
 
Methods inherited from class org.springframework.test.ConditionalTestCase
getDisabledTestCount, isDisabledInThisEnvironment, recordDisabled, runBare
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
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, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApacheDS154Test.CachingApacheBasicTest

public ApacheDS154Test.CachingApacheBasicTest()
Method Detail

onTearDown

public void onTearDown()
                throws java.lang.Exception
Overrides:
onTearDown in class BaseTest
Throws:
java.lang.Exception

setEventManager

public void setEventManager(com.atlassian.event.EventManager eventManager)

setDirectoryCacheManager

public void setDirectoryCacheManager(DirectoryCacheManager directoryCacheManager)


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.