|
|||||||||
| 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.OneToManyTest
| Field Summary | |
(package private) int |
articleID
|
(package private) int |
groupID
|
| Constructor Summary | |
OneToManyTest(java.lang.String name)
Insert the method's description here. |
|
| Method Summary | |
void |
brokenTestUpdateWithProxy()
tests creation of new object that has a one to many relationship. |
protected Article |
createArticle(int id)
Create an article with 4 product groups related to it in a 1-N relationship |
static void |
main(java.lang.String[] args)
|
void |
notYetCorrectTestCreate()
tests creation of new object that has a one to many relationship |
void |
setUp()
Insert the method's description here. |
void |
tearDown()
Insert the method's description here. |
void |
testPolymorphOneToMany()
this tests if polymorph collections (i.e. |
| 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 |
| Field Detail |
int groupID
int articleID
| Constructor Detail |
public OneToManyTest(java.lang.String name)
| Method Detail |
public static void main(java.lang.String[] args)
public void setUp()
public void tearDown()
public void notYetCorrectTestCreate()
throws java.lang.Exception
java.lang.Exception
public void brokenTestUpdateWithProxy()
throws java.lang.Exception
java.lang.Exceptionpublic void testPolymorphOneToMany()
protected Article createArticle(int id)
id -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||