当前页面:
在线文档首页 >
JBOSS Portal 2.4 API 英文版文档
PortalPermissionTestCase - JBOSS Portal 2.4 API 英文版文档
org.jboss.portal.test.security
Class PortalPermissionTestCase
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.jboss.portal.test.security.PortalPermissionTestCase
- All Implemented Interfaces:
- junit.framework.Test
- Direct Known Subclasses:
- PortalObjectPermissionTestCase, SimpleTestCase
- public class PortalPermissionTestCase
- extends junit.framework.TestCase
A test case to extend to perform testing of portal permission subclasses.
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString |
Methods inherited from class junit.framework.Assert |
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, fail, fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
server
protected Server server
PortalPermissionTestCase
public PortalPermissionTestCase(java.lang.String name)
setUp
public void setUp()
throws java.lang.Exception
- Throws:
java.lang.Exception
addContainerToRole
protected void addContainerToRole(java.lang.String roleName,
PortalPermission container)
throws java.lang.Exception
- Throws:
java.lang.Exception
implies
protected boolean implies(PortalPermission permission,
java.security.Principal[] principals)