com.atlassian.crowd.acceptance.tests.persistence.manager.directory
Class DirectoryManagerGenericNestedGroupsTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.springframework.test.ConditionalTestCase
org.springframework.test.AbstractSpringContextTests
org.springframework.test.AbstractSingleSpringContextTests
org.springframework.test.AbstractDependencyInjectionSpringContextTests
org.springframework.test.AbstractTransactionalSpringContextTests
org.springframework.test.AbstractTransactionalDataSourceSpringContextTests
com.atlassian.crowd.acceptance.tests.persistence.BaseSpringTestCase
com.atlassian.crowd.acceptance.tests.persistence.manager.directory.DirectoryManagerGenericNestedGroupsTest
- All Implemented Interfaces:
- junit.framework.Test
public class DirectoryManagerGenericNestedGroupsTest
- extends BaseSpringTestCase
Tests the directory manager against a HSQL-backed InternalDirectory
for the nested groups logic.
Fields inherited from class org.springframework.test.AbstractTransactionalDataSourceSpringContextTests |
jdbcTemplate |
Fields inherited from class org.springframework.test.AbstractTransactionalSpringContextTests |
transactionDefinition, transactionManager, transactionStatus |
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 |
Fields inherited from class org.springframework.test.ConditionalTestCase |
logger |
Methods inherited from class org.springframework.test.AbstractTransactionalDataSourceSpringContextTests |
countRowsInTable, deleteFromTables, executeSqlScript, getJdbcTemplate, setComplete, setDataSource, setSqlScriptEncoding |
Methods inherited from class org.springframework.test.AbstractTransactionalSpringContextTests |
endTransaction, isDefaultRollback, isRollback, onSetUp, onSetUpInTransaction, onTearDown, onTearDownAfterTransaction, onTearDownInTransaction, preventTransaction, setDefaultRollback, setTransactionDefinition, setTransactionManager, startNewTransaction |
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, createBeanDefinitionReader, customizeBeanFactory, getApplicationContext, getConfigPath, getConfigPaths, getLoadCount, loadContext, loadContextLocations, prepareApplicationContext, setDirty, setUp, tearDown |
Methods inherited from class org.springframework.test.AbstractSpringContextTests |
addContext, contextKeyString, getContext, hasCachedContext, isContextKeyEmpty, setDirty |
Methods inherited from class org.springframework.test.ConditionalTestCase |
getDisabledTestCount, isDisabledInThisEnvironment, recordDisabled, runBare |
Methods inherited from class junit.framework.TestCase |
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 |
firstName
protected final String firstName
- See Also:
- Constant Field Values
surName
protected final String surName
- See Also:
- Constant Field Values
password
protected final String password
- See Also:
- Constant Field Values
DirectoryManagerGenericNestedGroupsTest
public DirectoryManagerGenericNestedGroupsTest()
getSampleDataFileName
public String getSampleDataFileName()
- Specified by:
getSampleDataFileName
in class BaseSpringTestCase
getConfigLocations
protected String[] getConfigLocations()
- Overrides:
getConfigLocations
in class BaseSpringTestCase
onSetUpBeforeTransaction
protected void onSetUpBeforeTransaction()
throws Exception
- Overrides:
onSetUpBeforeTransaction
in class BaseSpringTestCase
- Throws:
Exception
addGroup
protected void addGroup(String name)
throws Exception
- Throws:
Exception
addUser
protected void addUser(String name)
throws Exception
- Throws:
Exception
testFindDirectoryById
public void testFindDirectoryById()
throws Exception
- Throws:
Exception
testSearchDirectUserMembersOfGroup
public void testSearchDirectUserMembersOfGroup()
throws Exception
- Throws:
Exception
testSearchDirectGroupMembersOfGroup
public void testSearchDirectGroupMembersOfGroup()
throws Exception
- Throws:
Exception
testSearchDirectGroupMembershipsOfUser
public void testSearchDirectGroupMembershipsOfUser()
throws Exception
- Throws:
Exception
testSearchDirectGroupMembershipsOfGroup
public void testSearchDirectGroupMembershipsOfGroup()
throws Exception
- Throws:
Exception
testSearchNestedGroupMembersOfGroup
public void testSearchNestedGroupMembersOfGroup()
throws Exception
- Throws:
Exception
testSearchNestedUserMembersOfGroup
public void testSearchNestedUserMembersOfGroup()
throws Exception
- Throws:
Exception
testSearchNestedGroupMembershipsOfGroup
public void testSearchNestedGroupMembershipsOfGroup()
throws Exception
- Throws:
Exception
testSearchNestedGroupMembershipsOfUser
public void testSearchNestedGroupMembershipsOfUser()
throws Exception
- Throws:
Exception
testIsUserDirectGroupMember
public void testIsUserDirectGroupMember()
throws Exception
- Throws:
Exception
testIsUserNestedGroupMember
public void testIsUserNestedGroupMember()
throws Exception
- Throws:
Exception
testIsGroupDirectGroupMember
public void testIsGroupDirectGroupMember()
throws Exception
- Throws:
Exception
testIsGroupNestedGroupMember
public void testIsGroupNestedGroupMember()
throws Exception
- Throws:
Exception
testAddGroupToGroupCycleCreationFail
public void testAddGroupToGroupCycleCreationFail()
throws Exception
- Throws:
Exception
testRemoveGroupFromGroupCycleDeletionFail
public void testRemoveGroupFromGroupCycleDeletionFail()
throws Exception
- Throws:
Exception
testRemoveGroupFromGroup
public void testRemoveGroupFromGroup()
throws Exception
- Throws:
Exception
setDirectoryManager
public void setDirectoryManager(DirectoryManager directoryManager)
setPasswordEncoderFactory
public void setPasswordEncoderFactory(PasswordEncoderFactory passwordEncoderFactory)
Copyright © 2013 Atlassian. All Rights Reserved.