|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.ojb.odmg.BidirectionalAssociationTest
tests a bidirectional association A<-->B
for equivalent test in PB API
Constructor Summary | |
BidirectionalAssociationTest(java.lang.String name)
Insert the method's description here. |
Method Summary | |
static void |
main(java.lang.String[] args)
|
void |
NOTWORKINGtestCreateWithoutUpdate()
this test doesn't work as OJB won't do the insert then execute the update. |
void |
NOTWORKINGtestGetA()
no clue why this isn't working. |
void |
setUp()
|
void |
tearDown()
Insert the method's description here. |
void |
testCreateWithUpdate()
test that we can create 2 objects that have a bidirectional association in ODMG API |
void |
testDeleteA()
test deleting an object participating in a bidirectional associative relationship. |
void |
testDeleteB()
test deleting an object participating in a bidirectional associative relationship. |
void |
testGetB()
|
void |
testUpdate()
nothing to update yet. |
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 |
public BidirectionalAssociationTest(java.lang.String name)
Method Detail |
public static void main(java.lang.String[] args)
public void testCreateWithUpdate() throws ODMGException
ODMGException
public void NOTWORKINGtestCreateWithoutUpdate() throws ODMGException
ODMGException
public void NOTWORKINGtestGetA() throws java.lang.Exception
java.lang.Exception
public void testGetB() throws java.lang.Exception
java.lang.Exception
public void testUpdate()
public void testDeleteA() throws java.lang.Exception
java.lang.Exception
public void testDeleteB() throws java.lang.Exception
java.lang.Exception
public void setUp()
public void tearDown()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |