org.kuali.rice.kim.test.service
Class PermissionServiceTest

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.test.service.PermissionServiceTest
All Implemented Interfaces:
MethodAware
Direct Known Subclasses:
PermissionServiceRemoteTest

public class PermissionServiceTest
extends KIMTestCase

Test the PermissionService

Author:
Kuali Rice Team (rice.collab@kuali.org)

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
PermissionServiceTest()
           
 
Method Summary
 PermissionService getPermissionService()
           
 void setPermissionService(PermissionService permissionService)
           
 void setUp()
           
 void testGetAuthorizedPermissions()
           
 void testGetAuthorizedPermissionsByTemplateName()
           
 void testGetPermission()
           
 void testGetPermissionAssignees()
           
 void testGetPermissionAssigneesForTemplateName()
           
 void testGetPermissionDetailLabel()
           
 void testGetPermissionsByName()
           
 void testGetPermissionsByTemplateName()
           
 void testGetRoleIdsForPermission()
           
 void testGetRoleIdsForPermissions()
           
 void testHasPermission()
           
 void testHasPermissionByTemplateName()
           
 void testIsAuthorized()
           
 void testIsAuthorizedByTemplateName()
           
 void testIsPermissionDefined()
           
 void testIsPermissionDefinedForTemplateName()
           
 void testLookupPermissions()
           
 
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

PermissionServiceTest

public PermissionServiceTest()
Method Detail

setUp

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

testHasPermission

public void testHasPermission()

testIsAuthorized

public void testIsAuthorized()

testHasPermissionByTemplateName

public void testHasPermissionByTemplateName()

testIsAuthorizedByTemplateName

public void testIsAuthorizedByTemplateName()

testGetPermissionAssignees

public void testGetPermissionAssignees()

testGetPermissionAssigneesForTemplateName

public void testGetPermissionAssigneesForTemplateName()

testIsPermissionDefined

public void testIsPermissionDefined()

testIsPermissionDefinedForTemplateName

public void testIsPermissionDefinedForTemplateName()

testGetAuthorizedPermissions

public void testGetAuthorizedPermissions()

testGetAuthorizedPermissionsByTemplateName

public void testGetAuthorizedPermissionsByTemplateName()

testGetPermission

public void testGetPermission()

testGetPermissionsByTemplateName

public void testGetPermissionsByTemplateName()

testGetPermissionsByName

public void testGetPermissionsByName()

testLookupPermissions

public void testLookupPermissions()

testGetRoleIdsForPermission

public void testGetRoleIdsForPermission()

testGetRoleIdsForPermissions

public void testGetRoleIdsForPermissions()

testGetPermissionDetailLabel

public void testGetPermissionDetailLabel()

getPermissionService

public PermissionService getPermissionService()

setPermissionService

public void setPermissionService(PermissionService permissionService)


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