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

LocalStoreTestCase - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.test.security.store
Class LocalStoreTestCase

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

public class LocalStoreTestCase
extends junit.framework.TestCase


Constructor Summary
LocalStoreTestCase(java.lang.String name)
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testCannotCreateWithNoParent()
           
 void testCreate()
           
 void testCreateDestroyCreate()
           
 void testDestroyWithChildren()
           
 void testDuplicate()
           
 void testRelationship()
           
 void testRollbackCreate()
           
 void testRollbackDestroy()
           
 void testRollbackUpdate()
           
 void testUpdate()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

LocalStoreTestCase

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

setUp

protected void setUp()
              throws java.lang.Exception
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Throws:
java.lang.Exception

testRollbackUpdate

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

testUpdate

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

testDuplicate

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

testCreateDestroyCreate

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

testRelationship

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

testCannotCreateWithNoParent

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

testDestroyWithChildren

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

testCreate

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

testRollbackCreate

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

testRollbackDestroy

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