public abstract class CollectionTypeHandlerUnitTest extends TypeHandlerTestUnitBase
| Constructor and Description |
|---|
CollectionTypeHandlerUnitTest() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
assertCompareItems(java.lang.Object element,
boolean successful) |
protected void |
assertQuery(boolean successful,
java.lang.Object element,
boolean withContains) |
protected void |
assertReferenceTypeElementCount(int expected) |
protected java.lang.Object |
retrieveItemInstance() |
void |
testCompareItems() |
void |
testDefragRetrieveInstance() |
void |
testDeletion() |
void |
testFailingCompareItems() |
void |
testFailingContainsQuery() |
void |
testFailingQuery() |
void |
testJoin() |
void |
testRetrieveInstance() |
void |
testSubQuery() |
void |
testSuccessfulContainsQuery() |
void |
testSuccessfulQuery() |
assertContent, assertListContent, assertMapContent, assertPlainContent, assertPlainListContent, assertPlainMapContent, assertQueryResult, configure, elementClass, elements, elementsSpec, expectedElementCount, fillItem, fillListItem, fillMapItem, itemFactory, largeElement, listFromItem, mapFromItem, notContained, store, typeHandler, valuesassertOccurrences, assertOccurrences, classMetadataFor, commit, concurrenyClientServerSuite, configureThreadCount, container, context, countOccurences, countOccurences, db, db4oSetupAfterStore, db4oSetupBeforeConfigure, db4oSetupBeforeStore, db4oTearDownAfterClean, db4oTearDownBeforeClean, defragment, deleteAll, deleteAll, deleteObjectSet, deleteObjectSet, embeddedSuite, eventRegistry, eventRegistryFor, fileSession, fixture, foreach, foreach, handleUncaughtExceptions, indexField, inMemorySuite, isEmbedded, isMultiSession, isNetworking, networkingSuite, newQuery, newQuery, newQuery, newQuery, newQuery, newQuery, newTransaction, openNewSession, reflectClass, reflector, reopen, retrieveOnlyInstance, retrieveOnlyInstance, runAll, runConcurrency, runConcurrencyAll, runEmbedded, runEmbeddedConcurrency, runInMemory, runNetworking, runSolo, runSolo, runSoloAndClientServer, runSoloAndEmbeddedClientServer, serverEventRegistry, setUp, soloSuite, store, stream, systemTrans, tearDown, testCases, threadCount, transprotected abstract void assertCompareItems(java.lang.Object element,
boolean successful)
protected void assertQuery(boolean successful,
java.lang.Object element,
boolean withContains)
public void testRetrieveInstance()
protected java.lang.Object retrieveItemInstance()
public void testDefragRetrieveInstance()
throws java.lang.Exception
java.lang.Exceptionpublic void testSuccessfulQuery()
throws java.lang.Exception
java.lang.Exceptionpublic void testFailingQuery()
throws java.lang.Exception
java.lang.Exceptionpublic void testSuccessfulContainsQuery()
throws java.lang.Exception
java.lang.Exceptionpublic void testFailingContainsQuery()
throws java.lang.Exception
java.lang.Exceptionpublic void testCompareItems()
throws java.lang.Exception
java.lang.Exceptionpublic void testFailingCompareItems()
throws java.lang.Exception
java.lang.Exceptionpublic void testDeletion()
throws java.lang.Exception
java.lang.Exceptionpublic void testJoin()
public void testSubQuery()
protected void assertReferenceTypeElementCount(int expected)