org.jboss.portal.test.cms
Class SimpleTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jboss.portal.test.cms.SimpleTestCase
All Implemented Interfaces:
junit.framework.Test

public class SimpleTestCase
extends junit.framework.TestCase


Constructor Summary
SimpleTestCase(java.lang.String name)
           
 
Method Summary
 void begin()
           
protected  void setUp()
           
protected  void tearDown()
           
 void terminate(boolean markedRollback)
           
 void testAddContentNodeRecursive()
           
 void testAddDirNode()
           
 void testAddDirNodeRecursive()
           
 void testAddFile()
           
 void testAddRemoveDirNode()
           
 void testOverwrite()
           
 void testRemoveContentNode()
           
 void testRemoveNonExistingNode()
           
 
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

SimpleTestCase

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

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception

testRemoveNonExistingNode

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

testRemoveContentNode

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

testAddRemoveDirNode

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

testAddContentNodeRecursive

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

testAddDirNodeRecursive

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

testOverwrite

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

testAddFile

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

testAddDirNode

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

begin

public void begin()

terminate

public void terminate(boolean markedRollback)