org.appfuse.model
Class BaseObjectTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.appfuse.model.BaseObjectTest
All Implemented Interfaces:
Test

public class BaseObjectTest
extends TestCase

Generated by JUnitDoclet, a tool provided by ObjectFab GmbH under LGPL. Please see www.junitdoclet.org, www.gnu.org and www.objectfab.de for informations about the tool, the licence and the authors.


Constructor Summary
BaseObjectTest(String name)
           
 
Method Summary
 BaseObject createInstance()
           
static void main(String[] args)
           
protected  void setUp()
           
protected  void tearDown()
           
 void testEquals()
           
 void testHashCode()
           
 void testToString()
           
 void testVault()
          JUnitDoclet moves marker to this method, if there is not match for them in the regenerated code and if the marker is not empty.
 
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

BaseObjectTest

public BaseObjectTest(String name)
Method Detail

createInstance

public BaseObject createInstance()
                          throws Exception
Throws:
Exception

setUp

protected void setUp()
              throws Exception
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Throws:
Exception

testToString

public void testToString()
                  throws Exception
Throws:
Exception

testEquals

public void testEquals()
                throws Exception
Throws:
Exception

testHashCode

public void testHashCode()
                  throws Exception
Throws:
Exception

testVault

public void testVault()
               throws Exception
JUnitDoclet moves marker to this method, if there is not match for them in the regenerated code and if the marker is not empty. This way, no test gets lost when regenerating after renaming. Method testVault is supposed to be empty.

Throws:
Exception

main

public static void main(String[] args)


Copyright © 2002-2004