com.retek.component.security.impl
Class RoleImplTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.retek.commons.util.RetekTestCase
com.retek.commons.component.impl.DistributedObjectImplTest
com.retek.component.security.impl.RoleImplTest
- All Implemented Interfaces:
- junit.framework.Test
- public class RoleImplTest
- extends DistributedObjectImplTest
Methods inherited from class com.retek.commons.util.RetekTestCase |
assertBusinessException, assertBusinessExceptionAttribute, assertContainsString, assertDateEqualsIgnoreTime, assertDateNotEqualsIgnoreTime, assertDateTimeEquals, assertEquals, assertEqualValuesDeep, assertEqualValuesDeep, assertEqualValuesDeep, assertFalse, assertFalse, assertNotEquals, assertNotNullAndEquals, assertNull, assertRetekEquals, assertStateEquals, assertStateNotEquals, assertXmlEquals, findDto, findDto, getContext, getReadBackContext, getReferences, getReferences, isOracleTestCase, resetSystemRDateToBusinessDay, runTest, setSecurityEncryption, setTaxSimulate, setUp, tearDown |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, name, run, run, runBare, setName, toString |
Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RoleImplTest
public RoleImplTest(java.lang.String name)
getBusinessInterface
public java.lang.Class getBusinessInterface()
throws java.lang.Exception
- Specified by:
getBusinessInterface
in class DistributedObjectImplTest
- Throws:
java.lang.Exception
createReadyForPersist
public DistributedObjectImpl createReadyForPersist(DistributedContext context)
throws java.lang.Exception
- Specified by:
createReadyForPersist
in class DistributedObjectImplTest
- Throws:
java.lang.Exception
touch
public void touch(DistributedObjectImpl object)
throws java.lang.Exception
- Specified by:
touch
in class DistributedObjectImplTest
- Throws:
java.lang.Exception
persist
public void persist(DistributedObjectImpl object)
throws java.lang.Exception
- Specified by:
persist
in class DistributedObjectImplTest
- Throws:
java.lang.Exception
testAddRole
public void testAddRole()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddRoleMissingDescriptionThrowsException
public void testAddRoleMissingDescriptionThrowsException()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRemovePermission
public void testRemovePermission()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRemoveRole
public void testRemoveRole()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCantRemoveRoleWithAssociations
public void testCantRemoveRoleWithAssociations()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddUnpersistedRole
public void testAddUnpersistedRole()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetInheritedPermissions
public void testGetInheritedPermissions()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetAllPermissions
public void testGetAllPermissions()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRoleHasPermission
public void testRoleHasPermission()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRoleRemovePermissionsByApplication
public void testRoleRemovePermissionsByApplication()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRoleRemovePermissionsThroughApplications
public void testRoleRemovePermissionsThroughApplications()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRoleDelete
public void testRoleDelete()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCycleDetection
public void testCycleDetection()
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2004 Retek Inc. All Rights Reserved.
- Generated at Fri, 10/22/2004 07:28