|
||||||||||
| 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.broker.BasicTestBroker
Generic test suite to exercise a broker instance. If no brokerImpl is specified or manually set, it defaults to using the FileBroker.
| Field Summary | |
Broker |
broker
|
| Fields inherited from class com.objectwave.test.UnitTestBaseImpl |
testContext |
| Constructor Summary | |
BasicTestBroker()
Constructor for the BasicTestBroker object |
|
| Method Summary | |
static void |
main(java.lang.String[] args)
The main program for the Test class |
void |
setUp(java.lang.String str,
TestContext context)
The JUnit setup method |
void |
tearDown(TestContext context)
The teardown method for JUnit |
void |
testCollectionProxy()
A unit test for JUnit |
void |
testConstrainingFk()
A unit test for JUnit |
void |
testConstrainingInstance()
A unit test for JUnit |
void |
testCrossFieldConstraint()
A unit test for JUnit |
void |
testDelete()
A unit test for JUnit |
void |
testDualInsert()
A unit test for JUnit |
void |
testFkProxy()
A unit test for JUnit |
void |
testInstanceProxy()
A unit test for JUnit |
void |
testListFind()
A unit test for JUnit |
void |
testResave()
A unit test for JUnit |
void |
testSimpleFind()
A unit test for JUnit |
void |
testSimpleSave()
A unit test for JUnit |
void |
testSimpleSaveList()
A unit test for JUnit |
void |
testTargetFileName()
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 |
| Field Detail |
public Broker broker
| Constructor Detail |
public BasicTestBroker()
| Method Detail |
public static void main(java.lang.String[] args)
args - The command line arguments
public void setUp(java.lang.String str,
TestContext context)
throws java.lang.Exception
setUp in interface UnitTestsetUp in class UnitTestBaseImplstr - The new Up valuecontext - The new Up value
java.lang.Exceptionpublic void tearDown(TestContext context)
tearDown in interface UnitTesttearDown in class UnitTestBaseImplcontext - Description of Parameterpublic void testTargetFileName()
public void testConstrainingInstance()
throws QueryException
QueryException - Description of Exception
public void testCrossFieldConstraint()
throws QueryException
QueryException
public void testConstrainingFk()
throws QueryException
QueryException - Description of Exception
public void testDualInsert()
throws QueryException,
java.lang.Exception
QueryException
java.lang.Exception
public void testInstanceProxy()
throws QueryException
QueryException - Description of Exception
public void testFkProxy()
throws QueryException
QueryException - Description of Exception
public void testListFind()
throws QueryException
QueryException - Description of Exception
public void testSimpleFind()
throws QueryException
QueryException - Description of Exception
public void testDelete()
throws QueryException
QueryException - Description of Exception
public void testSimpleSaveList()
throws QueryException
QueryException - Description of Exception
public void testResave()
throws QueryException
QueryException
public void testSimpleSave()
throws QueryException
QueryException - Description of Exception
public void testCollectionProxy()
throws QueryException
QueryException - Description of Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||