站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.4 API 英文版文档

SimpleTestCase - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.test.security
Class SimpleTestCase

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.jboss.portal.test.security.PortalPermissionTestCase
              extended byorg.jboss.portal.test.security.SimpleTestCase
All Implemented Interfaces:
junit.framework.Test

public class SimpleTestCase
extends PortalPermissionTestCase


Field Summary
 
Fields inherited from class org.jboss.portal.test.security.PortalPermissionTestCase
server
 
Constructor Summary
SimpleTestCase(java.lang.String name)
           
 
Method Summary
 void testDomainImpliesThrowingError()
           
 void testDomainImpliesThrowingPortalSecurityException()
           
 void testDomainImpliesThrowingRuntimeException()
           
 void testFlat()
           
 void testHierarchyView()
           
 void testHierarchyViewRecursive()
           
 
Methods inherited from class org.jboss.portal.test.security.PortalPermissionTestCase
addContainerToRole, implies, setUp
 
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
 

Constructor Detail

SimpleTestCase

public SimpleTestCase(java.lang.String name)
Method Detail

testFlat

public void testFlat()
              throws java.lang.Exception
Throws:
java.lang.Exception

testHierarchyViewRecursive

public void testHierarchyViewRecursive()
                                throws java.lang.Exception
Throws:
java.lang.Exception

testHierarchyView

public void testHierarchyView()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testDomainImpliesThrowingPortalSecurityException

public void testDomainImpliesThrowingPortalSecurityException()
                                                      throws java.lang.Exception
Throws:
java.lang.Exception

testDomainImpliesThrowingRuntimeException

public void testDomainImpliesThrowingRuntimeException()
                                               throws java.lang.Exception
Throws:
java.lang.Exception

testDomainImpliesThrowingError

public void testDomainImpliesThrowingError()
                                    throws java.lang.Exception
Throws:
java.lang.Exception