|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.objectwave.test.UnitTestBaseImpl
|
+--com.objectwave.persist.bcel.examples.BcelTest
A class to exercise some of the basic capabilities of the BCEL libraries.
| Field Summary |
| Fields inherited from class com.objectwave.test.UnitTestBaseImpl |
testContext |
| Constructor Summary | |
BcelTest()
|
|
| Method Summary | |
static void |
main(java.lang.String[] args)
The main program for the BcelTest class |
void |
setUp(java.lang.String name,
TestContext context)
The JUnit setup method |
void |
tearDown(TestContext context)
The teardown method for JUnit |
void |
testFactory()
To avoid casting all of the time, you could create type specific factories. |
void |
testSaveAndFind()
A unit test for JUnit |
| Methods inherited from class com.objectwave.test.UnitTestBaseImpl |
createTest, removeFile, writeFile, writeFileResource |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BcelTest()
| Method Detail |
public void setUp(java.lang.String name,
TestContext context)
setUp in interface UnitTestsetUp in class UnitTestBaseImplname - The new up valuecontext - The new up valuepublic static void main(java.lang.String[] args)
args - The command line arguments
public void tearDown(TestContext context)
throws java.lang.Exception
tearDown in interface UnitTesttearDown in class UnitTestBaseImplcontext -
java.lang.Exception
public void testSaveAndFind()
throws java.lang.Exception
java.lang.Exception
public void testFactory()
throws java.lang.Exception
java.lang.Exceptioncom.objectwave.persist.examples.Person#newInstance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||