| com.sleepycat.collections.test.CollectionTest
All known Subclasses: com.sleepycat.collections.test.XACollectionTest,
CollectionTest | public class CollectionTest extends TestCase (Code) | | author: Mark Hayes |
Method Summary | |
void | addAll() | void | addAllList() | void | addOdd() | void | addOddDup() | void | addOddEntity() | void | addOddList() | void | appendAll() | void | bulkListOperations() | void | bulkOperations() | void | checkDupsSize(int expected, Collection coll) | void | checkKeySetAndValueSet() | void | clearAll() | void | clearRange() | void | createOutOfRange(int rangeBegin, int rangeEnd) | void | duplicatesNotAllowed() | int | intIter(Collection coll, Object value) | int | intKey(Object key) | int | intVal(Object val) | boolean | isSubMap() | Iterator | iterator(Collection storedCollection) | void | iteratorSetAndRemoveNotAllowed(ListIterator i) | void | listOperationsNotAllowed() | public static void | main(String[] args) Runs a command line collection test. | Object | makeEntity(int key, int val) | Object | makeEntity(int key) | Object | makeEntity(Long key) | Long | makeKey(int key) | Object | makeVal(int key) | Object | makeVal(int key, int val) | Object | makeVal(Long key) | Map.Entry | mapEntry(Object key, Object val) | Map.Entry | mapEntry(int key) | protected TransactionRunner | newTransactionRunner(Environment env) Is overridden in XACollectionTest. | void | readAll() | void | readDuplicates(int i, Object key, Object[] values) | void | readEven() | void | readEvenList() | void | readIterator(Collection coll, Iterator iter, int beginValue, int endValue) | void | readWriteDuplicates() | void | readWriteIndexedDuplicates(int i) | void | readWritePrimaryDuplicates(int i) | void | readWriteRange(int type, int rangeBegin, int rangeEnd) | void | removeAll() | void | removeAllList() | void | removeIter() Tests that removing while iterating works properly, especially when
removing everything in the key range or everything from some point to
the end of the range. | void | removeOdd() | void | removeOddEntity() | void | removeOddEntry() | void | removeOddIter() | void | removeOddList() | void | removeOddListValue() | public void | runTest() | void | setRange(int type, int rangeBegin, int rangeEnd) | void | setValuePlusOne(ListIterator iter, Object obj) | public static Test | suite() | static Test | suite(String[] args) | public void | tearDown() | void | testAll() | void | testCdbLocking() | void | testCreation(StoredContainer cont, int expectSize) | void | testIndexed() | void | testIterAddDuplicates() | void | testIterAddList() | void | testMapCreation(Map map) | void | testUnindexed() | void | updateAll() | void | updateIter(Collection coll) | void | writeOutOfRange(Long badNewKey) |
CollectionTest | public CollectionTest(TestEnv testEnv, TestStore testStore, boolean isEntityBinding, boolean isAutoCommit)(Code) | | |
checkKeySetAndValueSet | void checkKeySetAndValueSet()(Code) | | |
clearRange | void clearRange()(Code) | | |
createOutOfRange | void createOutOfRange(int rangeBegin, int rangeEnd) throws Exception(Code) | | |
duplicatesNotAllowed | void duplicatesNotAllowed()(Code) | | |
isSubMap | boolean isSubMap()(Code) | | |
listOperationsNotAllowed | void listOperationsNotAllowed()(Code) | | |
readWriteIndexedDuplicates | void readWriteIndexedDuplicates(int i) throws Exception(Code) | | |
readWritePrimaryDuplicates | void readWritePrimaryDuplicates(int i) throws Exception(Code) | | |
readWriteRange | void readWriteRange(int type, int rangeBegin, int rangeEnd) throws Exception(Code) | | |
removeIter | void removeIter() throws Exception(Code) | | Tests that removing while iterating works properly, especially when
removing everything in the key range or everything from some point to
the end of the range. [#15858]
|
setRange | void setRange(int type, int rangeBegin, int rangeEnd)(Code) | | |
testCdbLocking | void testCdbLocking()(Code) | | |
|
|