org.kuali.rice.kim.service.impl
Class RoleServiceImplTest

java.lang.Object
  extended by org.kuali.rice.test.BaseRiceTestCase
      extended by org.kuali.rice.test.RiceTestCase
          extended by org.kuali.rice.test.RiceInternalSuiteDataTestCase
              extended by org.kuali.rice.test.BaseModuleTestCase
                  extended by org.kuali.rice.test.BaselineTestCase
                      extended by org.kuali.rice.kim.test.KIMTestCase
                          extended by org.kuali.rice.kim.service.impl.RoleServiceImplTest
All Implemented Interfaces:
MethodAware

public class RoleServiceImplTest
extends KIMTestCase


Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.rice.kim.test.KIMTestCase
KIMTestCase.ClearCacheLifecycle
 
Nested classes/interfaces inherited from class org.kuali.rice.test.BaselineTestCase
BaselineTestCase.BaselineMode, BaselineTestCase.Mode
 
Field Summary
 
Fields inherited from class org.kuali.rice.test.BaselineTestCase
dirty
 
Fields inherited from class org.kuali.rice.test.BaseModuleTestCase
LOG, moduleName
 
Fields inherited from class org.kuali.rice.test.RiceTestCase
DEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycles
 
Fields inherited from class org.kuali.rice.test.BaseRiceTestCase
log, method
 
Constructor Summary
RoleServiceImplTest()
           
 
Method Summary
protected  RoleResponsibilityAction createRoleResponsibilityAction()
           
protected  BusinessObjectService getBusinessObjectService()
           
protected  org.kuali.rice.kim.impl.common.delegate.DelegateMemberBo getDelegateMemberBo(String delegationMemberId)
           
protected  RoleMemberBo getRoleMemberBo(String roleMemberId)
           
 void setUp()
           
 void testAddPrincipalToRoleAndRemove()
           
 void testCircularRoleAssignment()
          Tests to ensure that a circular role membership cannot be created via the RoleService.
 void testCreateRoleResponsibilityAction()
           
 void testDelegateMemberCreateUpdateRemove()
           
 void testDelegateMemberCreateUpdateRemoveWithAttr()
           
 void testDeleteRoleResponsibilityAction()
           
 void testPrincipaHasRoleOfDirectAssignment()
           
 void testPrincipalHasRoleContainsGroupAssigned()
           
 void testPrincipalHasRoleOfHigherLevel()
           
 void testRoleMemberCreateUpdate()
           
 void testRoleMemberCreateUpdateAddOneAttr()
           
 void testRoleMemberCreateUpdateNoAttrChange()
           
 void testRoleMemberCreateUpdateRemoveOneAttr()
           
 void testUpdateRoleResponsibilityAction()
           
 
Methods inherited from class org.kuali.rice.kim.test.KIMTestCase
getDefaultKimType, getDefaultPermissionTemplate, getIdFromSequence, getLoadApplicationLifecycle, getModuleName, getNewRoleId, getNewRoleMemberId, getNewRolePermissionId, getPerTestLifecycles, getPerTestTablesNotToClear, getSuiteLifecycles, loadSuiteTestData
 
Methods inherited from class org.kuali.rice.test.BaselineTestCase
getClearDbPerTestLifecycles, getMode, getPerTestTablesToClear, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles
 
Methods inherited from class org.kuali.rice.test.RiceInternalSuiteDataTestCase
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestData
 
Methods inherited from class org.kuali.rice.test.RiceTestCase
configureLogging, dumpMemory, getBaseDir, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDown
 
Methods inherited from class org.kuali.rice.test.BaseRiceTestCase
getName, getPerTestDataLoaderLifecycle, resetLogLevels, setLogLevel, setName, setTestMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoleServiceImplTest

public RoleServiceImplTest()
Method Detail

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class BaselineTestCase
Throws:
Exception

testPrincipaHasRoleOfDirectAssignment

public void testPrincipaHasRoleOfDirectAssignment()

testPrincipalHasRoleOfHigherLevel

public void testPrincipalHasRoleOfHigherLevel()

testDelegateMemberCreateUpdateRemove

public void testDelegateMemberCreateUpdateRemove()

testRoleMemberCreateUpdate

public void testRoleMemberCreateUpdate()

testRoleMemberCreateUpdateNoAttrChange

public void testRoleMemberCreateUpdateNoAttrChange()

testRoleMemberCreateUpdateRemoveOneAttr

public void testRoleMemberCreateUpdateRemoveOneAttr()

testRoleMemberCreateUpdateAddOneAttr

public void testRoleMemberCreateUpdateAddOneAttr()

testDelegateMemberCreateUpdateRemoveWithAttr

public void testDelegateMemberCreateUpdateRemoveWithAttr()

getRoleMemberBo

protected RoleMemberBo getRoleMemberBo(String roleMemberId)

getDelegateMemberBo

protected org.kuali.rice.kim.impl.common.delegate.DelegateMemberBo getDelegateMemberBo(String delegationMemberId)

getBusinessObjectService

protected BusinessObjectService getBusinessObjectService()

testPrincipalHasRoleContainsGroupAssigned

public void testPrincipalHasRoleContainsGroupAssigned()

testAddPrincipalToRoleAndRemove

public void testAddPrincipalToRoleAndRemove()

testCircularRoleAssignment

public void testCircularRoleAssignment()
Tests to ensure that a circular role membership cannot be created via the RoleService.

Throws:
Exception

createRoleResponsibilityAction

protected RoleResponsibilityAction createRoleResponsibilityAction()

testCreateRoleResponsibilityAction

public void testCreateRoleResponsibilityAction()

testUpdateRoleResponsibilityAction

public void testUpdateRoleResponsibilityAction()

testDeleteRoleResponsibilityAction

public void testDeleteRoleResponsibilityAction()


Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.