|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.crowd.acceptance.tests.directory.DbCachingLdapTest
@ContextConfiguration(locations={"classpath:/dbCachingRemoteDirectoryApplicationContext.xml","classpath:/applicationContext-CrowdEncryption.xml","classpath:/applicationContext-CrowdUtils.xml","classpath:/applicationContext-CrowdDAO.xml","classpath:/applicationContext-config.xml"}) @TestExecutionListeners(value={org.springframework.test.context.support.DependencyInjectionTestExecutionListener.class,org.springframework.test.context.support.DirtiesContextTestExecutionListener.class}) @DirtiesContext(classMode=AFTER_CLASS) public class DbCachingLdapTest
Tests the caching functionality of the DbCachingRemoteDirectory
.
This test shouldn't be running in a single transaction.
Constructor Summary | |
---|---|
DbCachingLdapTest()
|
Method Summary | |
---|---|
void |
removeTestData()
Removes test data from the LDAP server |
void |
setDataSource(DataSource dataSource)
|
void |
setDirectoryDao(DirectoryDao directoryDao)
|
void |
setDirectoryInstanceLoader(CacheableDirectoryInstanceLoader directoryInstanceLoader)
|
void |
setDirectoryManager(MockDirectoryManager directoryManager)
|
void |
setInternalDirectoryInstanceLoader(InternalDirectoryInstanceLoader internalDirectoryInstanceLoader)
|
void |
setLdapDirectoryInstanceLoader(LDAPDirectoryInstanceLoader ldapDirectoryInstanceLoader)
|
void |
setLdapPropertiesHelperImpl(LDAPPropertiesHelperImpl ldapPropertiesHelperImpl)
|
void |
setPasswordEncoderFactory(PasswordEncoderFactory passwordEncoderFactory)
|
void |
setSessionFactory(org.hibernate.SessionFactory sessionFactory)
|
void |
setUp()
|
void |
tearDown()
|
void |
testAddGroupViaCachingDirectory()
Test adding a group. |
void |
testAddGroupViaLdap()
Test adding a group. |
void |
testAddMembershipViaCachingDirectory()
Test adding a membership. |
void |
testAddMembershipViaLdap()
Test adding a membership. |
void |
testAddUserViaCachingDirectory()
Test adding a user. |
void |
testAddUserViaLdap()
Test adding a user. |
void |
testRemoveGroupViaCachingDirectory()
Test removing a group. |
void |
testRemoveGroupViaLdap()
Test removing a group. |
void |
testRemoveMembershipViaCachingDirectory()
Test removing a membership. |
void |
testRemoveMembershipViaLdap()
Test removing a membership. |
void |
testRemoveUserViaCachingDirectory()
Test removing a user. |
void |
testRemoveUserViaLdap()
Test removing a user. |
void |
testSearchOperations()
Test the basic search operations to make sure the work normally. |
void |
testUpdateGroupViaCachingDirectory()
Test Update a group. |
void |
testUpdateGroupViaLdap()
Test Update a group. |
void |
testUpdateUserViaCachingDirectory()
Test Update a user. |
void |
testUpdateUserViaLdap()
Test Update a user. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DbCachingLdapTest()
Method Detail |
---|
public void setUp() throws Exception
Exception
public void tearDown()
public void removeTestData()
public void testSearchOperations() throws Exception
Exception
public void testAddUserViaLdap() throws Exception
Exception
public void testRemoveUserViaLdap() throws Exception
Exception
public void testUpdateUserViaLdap() throws Exception
Exception
public void testAddGroupViaLdap() throws Exception
Exception
public void testRemoveGroupViaLdap() throws Exception
Exception
public void testUpdateGroupViaLdap() throws Exception
Exception
public void testAddMembershipViaLdap() throws Exception
Exception
public void testRemoveMembershipViaLdap() throws Exception
Exception
public void testAddUserViaCachingDirectory() throws Exception
Exception
public void testRemoveUserViaCachingDirectory() throws Exception
Exception
public void testUpdateUserViaCachingDirectory() throws Exception
Exception
public void testAddGroupViaCachingDirectory() throws Exception
Exception
public void testRemoveGroupViaCachingDirectory() throws Exception
Exception
public void testUpdateGroupViaCachingDirectory() throws Exception
Exception
public void testAddMembershipViaCachingDirectory() throws Exception
Exception
public void testRemoveMembershipViaCachingDirectory() throws Exception
Exception
public void setDataSource(DataSource dataSource)
public void setLdapPropertiesHelperImpl(LDAPPropertiesHelperImpl ldapPropertiesHelperImpl)
public void setPasswordEncoderFactory(PasswordEncoderFactory passwordEncoderFactory)
public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
public void setDirectoryDao(DirectoryDao directoryDao)
public void setDirectoryManager(MockDirectoryManager directoryManager)
public void setDirectoryInstanceLoader(CacheableDirectoryInstanceLoader directoryInstanceLoader)
public void setLdapDirectoryInstanceLoader(LDAPDirectoryInstanceLoader ldapDirectoryInstanceLoader)
public void setInternalDirectoryInstanceLoader(InternalDirectoryInstanceLoader internalDirectoryInstanceLoader)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |