| BaseObjectTest.java |
package org.appfuse.model;
import junit.framework.TestCase;
// JUnitDoclet end import
/**
* 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.
*/
public class BaseObjectTest extends TestCase
// JUnitDoclet end extends_implements
{
//~ Instance fields ========================================================
// JUnitDoclet begin class
org.appfuse.model.BaseObject baseobject = null;
//~ Constructors ===========================================================
// JUnitDoclet end class
public BaseObjectTest(String name) {
// JUnitDoclet begin method BaseObjectTest
super(name);
// JUnitDoclet end method BaseObjectTest
}
//~ Methods ================================================================
public org.appfuse.model.BaseObject createInstance()
throws Exception {
// JUnitDoclet begin method testcase.createInstance
return new org.appfuse.model.BaseObject();
// JUnitDoclet end method testcase.createInstance
}
protected void setUp() throws Exception {
// JUnitDoclet begin method testcase.setUp
super.setUp();
baseobject = createInstance();
// JUnitDoclet end method testcase.setUp
}
protected void tearDown() throws Exception {
// JUnitDoclet begin method testcase.tearDown
baseobject = null;
super.tearDown();
// JUnitDoclet end method testcase.tearDown
}
public void testToString() throws Exception {
// JUnitDoclet begin method toString
// JUnitDoclet end method toString
}
public void testEquals() throws Exception {
// JUnitDoclet begin method equals
// JUnitDoclet end method equals
}
public void testHashCode() throws Exception {
// JUnitDoclet begin method hashCode
// JUnitDoclet end method hashCode
}
/**
* 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.
*/
public void testVault() throws Exception {
// JUnitDoclet begin method testcase.testVault
// JUnitDoclet end method testcase.testVault
}
public static void main(String[] args) {
// JUnitDoclet begin method testcase.main
junit.textui.TestRunner.run(BaseObjectTest.class);
// JUnitDoclet end method testcase.main
}
}
| BaseObjectTest.java |