public class UniqueFieldIndexTestCase extends AbstractDb4oTestCase
| Modifier and Type | Class and Description |
|---|---|
static class |
UniqueFieldIndexTestCase.IHavaNothingToDoWithItemInstances |
static class |
UniqueFieldIndexTestCase.Item |
| Constructor and Description |
|---|
UniqueFieldIndexTestCase() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure(Configuration config) |
static void |
main(java.lang.String[] arguments) |
protected void |
store() |
void |
testDeleteAfterNewDoesNotViolate() |
void |
testNewAfterDeleteDoesNotViolate() |
void |
testNewViolates() |
void |
testObjectsAreNotReadUnnecessarily() |
void |
testUpdateDoesNotViolate() |
void |
testUpdateViolates() |
void |
testUpdatingSameObjectDoesNotViolate() |
assertOccurrences, 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, transpublic static void main(java.lang.String[] arguments)
protected void configure(Configuration config) throws java.lang.Exception
configure in class AbstractDb4oTestCasejava.lang.Exceptionprotected void store()
throws java.lang.Exception
store in class AbstractDb4oTestCasejava.lang.Exceptionpublic void testNewViolates()
public void testUpdateViolates()
public void testUpdateDoesNotViolate()
public void testUpdatingSameObjectDoesNotViolate()
public void testNewAfterDeleteDoesNotViolate()
public void testDeleteAfterNewDoesNotViolate()
public void testObjectsAreNotReadUnnecessarily()