|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.junit.Assert org.kuali.rice.test.BaseRiceTestCase org.kuali.rice.test.RiceTestCase org.kuali.rice.test.RiceInternalSuiteDataTestCase org.kuali.rice.test.BaseModuleTestCase org.kuali.rice.test.BaselineTestCase org.kuali.rice.kim.test.KIMTestCase org.kuali.rice.kim.service.impl.RoleServiceImplTest
public class RoleServiceImplTest
This is a description of what this class does - shyu don't forget to fill this in.
Nested Class Summary | |
---|---|
private static interface |
RoleServiceImplTest.KimObjectTestChecker<T extends PersistableBusinessObjectBase>
A convenience interface for reducing duplicated code when comparing KIM objects and testing certain KIM-object-caching capabilities. |
private class |
RoleServiceImplTest.RoleServiceTestImpl
A subclass of RoleServiceImpl for providing a convenient way to test the RoleServiceImpl's caching. |
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 | |
---|---|
private RoleServiceImpl |
roleService
|
private RoleUpdateServiceImpl |
roleUpdateService
|
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 | |
---|---|
void |
setUp()
|
void |
testCachingBehavesCorrectly()
Tests to ensure that the RoleServiceImpl's caching mechanisms are behaving as expected. |
void |
testCircularRoleAssignment()
Tests to ensure that a circular role membership cannot be created via the RoleUpdateService. |
void |
testPrincipaHasRoleOfDirectAssignment()
|
void |
testPrincipalHasRoleContainsGroupAssigned()
|
void |
testPrincipalHasRoleOfHigherLevel()
|
Methods inherited from class org.kuali.rice.kim.test.KIMTestCase |
---|
getDefaultKimType, getDefaultPermissionTemplate, getIdFromSequence, getJettyServerLifecycle, getLoadApplicationLifecycle, getModuleName, getNewRoleId, getNewRoleMemberId, getNewRolePermissionId, getPerTestLifecycles, getPerTestTablesNotToClear, getSuiteLifecycles, loadSuiteTestData |
Methods inherited from class org.kuali.rice.test.BaselineTestCase |
---|
getClearDbPerTestLifecycles, getMode, getPerTestTablesToClear, getRollbackPerTestLifecycles |
Methods inherited from class org.kuali.rice.test.RiceInternalSuiteDataTestCase |
---|
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKNSDefaultSuiteTestData |
Methods inherited from class org.kuali.rice.test.BaseRiceTestCase |
---|
getName, getPerTestDataLoaderLifecycle, resetLogLevels, setLogLevel, setName, setTestMethod |
Methods inherited from class org.junit.Assert |
---|
assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertThat, assertThat, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private RoleServiceImpl roleService
private RoleUpdateServiceImpl roleUpdateService
Constructor Detail |
---|
public RoleServiceImplTest()
Method Detail |
---|
public void setUp() throws Exception
setUp
in class BaselineTestCase
Exception
public void testPrincipaHasRoleOfDirectAssignment()
public void testPrincipalHasRoleOfHigherLevel()
public void testPrincipalHasRoleContainsGroupAssigned()
public void testCachingBehavesCorrectly() throws Exception
Exception
public void testCircularRoleAssignment()
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |