|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.framework.TestCase | +--test.ojb.broker.PersistenceBrokerTest
Insert the type's description here. Creation date: (06.12.2000 21:47:56)
Field Summary | |
(package private) PersistenceBroker |
broker
|
(package private) int |
testId
|
Constructor Summary | |
PersistenceBrokerTest(java.lang.String name)
BrokerTests constructor comment. |
Method Summary | |
protected Article |
createArticle(int id)
Insert the method's description here. |
protected void |
deleteArticle(Article articleToDelete)
Insert the method's description here. |
protected void |
deleteArticle(int id)
Insert the method's description here. |
static void |
main(java.lang.String[] args)
Insert the method's description here. |
protected Article |
readArticleByExample(int id)
Insert the method's description here. |
protected Article |
readArticleByIdentity(int id)
Insert the method's description here. |
void |
setUp()
Insert the method's description here. |
protected void |
storeArticle(Article anArticle)
Insert the method's description here. |
void |
tearDown()
Insert the method's description here. |
void |
testAutoIncrement()
Test the AutoIncrement facility |
void |
testDelete()
Insert the method's description here. |
void |
testEscaping()
Insert the method's description here. |
void |
testGetByExampleAndGetByIdentity()
Insert the method's description here. |
void |
testGetCollectionByQuery()
Insert the method's description here. |
void |
testGetDescriptor()
performs a test to check if metadata can be read |
void |
testGetIteratorByQuery()
Insert the method's description here. |
void |
testGetIteratorBySQL()
Testing the getIteratorBySQL functionality |
void |
testGetMultipleIteratorsByQuery()
Insert the method's description here. |
void |
testGetObjectByQuery()
Insert the method's description here. |
void |
testGetPKEnumerationByConstraints()
Insert the method's description here. |
void |
testGetReportQueryIteratorBySQL()
Testing the getReportQueryIteratorBySQL functionality |
void |
testInsert()
Insert the method's description here. |
void |
testMappingToOneTable()
performs a test of the inheritance mapping to one table. |
void |
testMappingToOneTableWithAbstractBaseclass()
performs a test of the inheritance mapping to one table. |
void |
testRowReader()
tests the RowReader mechanism |
void |
testSortedCollectionAttribute()
testing the sorted collections feature.) |
void |
testSorting()
Insert the method's description here. |
void |
testUpdate()
Insert the method's description here. |
void |
testUpdateWithModification()
Insert the method's description here. |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, 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 |
PersistenceBroker broker
int testId
Constructor Detail |
public PersistenceBrokerTest(java.lang.String name)
name
- java.lang.StringMethod Detail |
protected Article createArticle(int id)
id
- intprotected void deleteArticle(int id) throws PersistenceBrokerException
id
- int
PersistenceBrokerException
protected void deleteArticle(Article articleToDelete) throws PersistenceBrokerException
articleToDelete
- int
PersistenceBrokerException
public static void main(java.lang.String[] args)
args
- java.lang.String[]protected Article readArticleByExample(int id) throws PersistenceBrokerException
id
- int
PersistenceBrokerException
protected Article readArticleByIdentity(int id) throws PersistenceBrokerException
id
- int
PersistenceBrokerException
public void setUp()
setUp
in class junit.framework.TestCase
protected void storeArticle(Article anArticle) throws PersistenceBrokerException
anArticle
- int
PersistenceBrokerException
public void tearDown()
tearDown
in class junit.framework.TestCase
public void testDelete()
public void testMappingToOneTableWithAbstractBaseclass()
public void testMappingToOneTable()
public void testGetDescriptor()
public void testRowReader()
public void testEscaping()
public void testGetByExampleAndGetByIdentity()
public void testGetCollectionByQuery()
public void testSorting()
public void testSortedCollectionAttribute()
public void testAutoIncrement()
public void testGetIteratorByQuery()
public void testGetIteratorBySQL()
public void testGetReportQueryIteratorBySQL()
public void testGetMultipleIteratorsByQuery()
public void testGetObjectByQuery()
public void testGetPKEnumerationByConstraints()
public void testInsert()
public void testUpdate()
public void testUpdateWithModification()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |