public abstract class BTreeTestCaseBase extends AbstractDb4oTestCase implements OptOutMultiSession
| Modifier and Type | Field and Description |
|---|---|
protected BTree |
_btree |
protected static int |
BTREE_NODE_SIZE |
| Constructor and Description |
|---|
BTreeTestCaseBase() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
add(int element) |
protected void |
add(int[] keys) |
protected void |
add(Transaction transaction,
int element) |
protected void |
add(Transaction transaction,
int[] keys) |
protected void |
assertEmpty(Transaction transaction) |
protected void |
assertPointerKey(int key,
BTreePointer pointer) |
protected void |
assertSingleElement(int element) |
protected void |
assertSingleElement(Transaction trans,
int element) |
protected void |
assertSize(int expected) |
protected void |
commit() |
protected void |
commit(Transaction trans) |
protected void |
db4oSetupAfterStore() |
protected BTree |
newBTree() |
protected BTreeRange |
range(int lower,
int upper) |
protected void |
remove(int element) |
protected void |
remove(Transaction trans,
int element) |
protected void |
remove(Transaction transaction,
int[] keys) |
protected BTreeRange |
search(int key) |
protected BTreeRange |
search(Transaction trans,
int key) |
assertOccurrences, assertOccurrences, classMetadataFor, concurrenyClientServerSuite, configure, configureThreadCount, container, context, countOccurences, countOccurences, db, 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, store, stream, systemTrans, tearDown, testCases, threadCount, transprotected static final int BTREE_NODE_SIZE
protected BTree _btree
protected void db4oSetupAfterStore()
throws java.lang.Exception
db4oSetupAfterStore in class AbstractDb4oTestCasejava.lang.Exceptionprotected BTree newBTree()
protected BTreeRange range(int lower, int upper)
protected BTreeRange search(int key)
protected void add(int[] keys)
protected BTreeRange search(Transaction trans, int key)
protected void commit(Transaction trans)
protected void commit()
commit in class AbstractDb4oTestCaseprotected void remove(Transaction transaction, int[] keys)
protected void add(Transaction transaction, int[] keys)
protected void assertEmpty(Transaction transaction)
protected void add(Transaction transaction, int element)
protected void remove(int element)
protected void remove(Transaction trans, int element)
protected void add(int element)
protected void assertSize(int expected)
protected void assertSingleElement(int element)
protected void assertSingleElement(Transaction trans, int element)
protected void assertPointerKey(int key,
BTreePointer pointer)