public class MembershipDaoCRUDTest extends BaseSpringTestCase
MembershipDao
. For convenience, the tests
of this interface have been split into multiple test classes.jdbcTemplate
transactionDefinition, transactionManager, transactionStatus
AUTOWIRE_BY_NAME, AUTOWIRE_BY_TYPE, AUTOWIRE_NO
Constructor and Description |
---|
MembershipDaoCRUDTest() |
flush, getConfigLocations, newTransactionForBatchOperations, onSetUpBeforeTransaction, setResetableHiLoGeneratorHelper
countRowsInTable, deleteFromTables, executeSqlScript, getJdbcTemplate, setComplete, setDataSource, setSqlScriptEncoding
endTransaction, isDefaultRollback, isRollback, onSetUp, onSetUpInTransaction, onTearDown, onTearDownAfterTransaction, onTearDownInTransaction, preventTransaction, setDefaultRollback, setTransactionDefinition, setTransactionManager, startNewTransaction
getAutowireMode, injectDependencies, isDependencyCheck, isPopulateProtectedVariables, prepareTestInstance, setAutowireMode, setDependencyCheck, setPopulateProtectedVariables
contextKey, createApplicationContext, createBeanDefinitionReader, customizeBeanFactory, 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
public void testIsUserDirectMemberTrueMixedCase()
public void testIsUserDirectMemberTrue()
public void testIsUserDirectMemberFalse()
public void testIsGroupDirectMemberTrue()
public void testIsGroupDirectMemberFalse()
public void testAddUserToGroupWhereMembershipExists() throws Exception
Exception
public void testAddUserToGroupWhereGroupDoesNotExist() throws Exception
Exception
public void testAddUserToGroupWhereUserDoesNotExist() throws Exception
Exception
public void testAddAllUsersToGroupWhenGroupDoesNotExist() throws Exception
Exception
public void testAddAllUsersToGroupWhenSomeUsersDoNotExist() throws Exception
Exception
public void testAddGroupToGroupWhereMembershipExists() throws Exception
Exception
public void testAddGroupToGroupWhereChildGroupDoesNotExist()
public void testAddGroupToGroupWhereParentGroupDoesNotExist()
public void testRemoveUserFromGroupWhereGroupDoesNotExist() throws Exception
Exception
public void testRemoveUserFromGroupWhereUserDoesNotExist() throws Exception
Exception
public void testRemoveGroupFromGroupWhereParentGroupDoesNotExist() throws Exception
Exception
public void testRemoveGroupFromGroupWhereChildGroupDoesNotExist() throws Exception
Exception
public String getSampleDataFileName()
getSampleDataFileName
in class BaseSpringTestCase
public void setMembershipDAO(MembershipDAOHibernate membershipDAO)
Copyright © 2013 Atlassian. All Rights Reserved.