Package db
Class DBVarKeyTableTest
- java.lang.Object
-
- generic.test.AbstractGTest
-
- generic.test.AbstractGenericTest
-
- db.DBVarKeyTableTest
-
public class DBVarKeyTableTest extends AbstractGenericTest
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class generic.test.AbstractGenericTest
AbstractGenericTest.ExceptionHandlingRunner
-
-
Field Summary
-
Fields inherited from class generic.test.AbstractGenericTest
concurrentTestExceptionRule, DEFAULT_TEST_TOOL_NAME, ruleChain, TESTDATA_DIRECTORY_NAME, watchman
-
Fields inherited from class generic.test.AbstractGTest
BATCH_MODE, DEFAULT_WAIT_DELAY, DEFAULT_WAIT_TIMEOUT, DEFAULT_WINDOW_TIMEOUT, PARALLEL_MODE, PRIVATE_LONG_WAIT_TIMEOUT, testName
-
-
Constructor Summary
Constructors Constructor Description DBVarKeyTableTest()
-
Method Summary
-
Methods inherited from class generic.test.AbstractGenericTest
clickMouse, clickMouse, clickTableCell, createApplicationConfiguration, createApplicationLayout, createStackTraceForAllThreads, createTempDirectory, createTempFile, createTempFile, createTempFileForTest, createTempFileForTest, createTempFilePath, createTempFilePath, deleteMatchingTempFiles, deleteSimilarTempFiles, doubleClick, dragMouse, editCell, executeOnSwingWithoutBlocking, findAbstractButtonByName, findAbstractButtonByText, findButtonByIcon, findButtonByText, findComponent, findComponent, findComponentByName, findComponentByName, findComponentsByName, findOwnedWindows, findPathToText, findTestDataFile, findTreePathToText, fixupGUI, getAllWindows, getDebugFileDirectory, getInstanceField, getInstanceFieldByClassType, getLocalResourceFile, getTestDataDir, getTestDataDirectory, getTestDataFile, getText, hasTestFailed, initializeLayout, initializeSystemProperties, invokeConstructor, invokeInstanceMethod, invokeInstanceMethod, leftClick, loadTextResource, loadTextResource, middleClick, moveMouse, postEvent, pressButton, pressButton, pressButtonByName, pressButtonByName, pressButtonByText, pressButtonByText, printMemory, privateWaitForPostedSwingRunnables_SwingSafe, rightClick, runSwing, runSwing, runSwing, setComboBoxSelection, setInstanceField, setText, testFailed, toString, waitForPostedSwingRunnables, waitForSwing, waitForTasks, windowForComponent, yieldToSwing
-
Methods inherited from class generic.test.AbstractGTest
assertArraysEqualOrdered, assertArraysEqualUnordered, assertArraysEqualUnordered, assertContainsExactly, assertContainsExactly, assertListEqualOrdered, assertListEqualOrdered, assertListEqualsArrayOrdered, assertListEqualsArrayUnordered, assertListEqualUnordered, failWithException, getName, getRandomInt, getRandomInt, getRandomString, getRandomString, getTestDirectoryPath, sleep, waitFor, waitFor, waitFor, waitForCondition, waitForCondition, waitForConditionWithoutFailing, waitForValue, waitForValueWithoutFailing
-
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception
- Throws:
java.lang.Exception
-
tearDown
public void tearDown() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testInsertSmallVarKeyRecord
public void testInsertSmallVarKeyRecord() throws java.io.IOException
Test normal record storage within a leaf node. Chained-buffers will not be utilized.- Throws:
java.io.IOException
-
testInsertVarKeyRecordWithEmptyField
public void testInsertVarKeyRecordWithEmptyField() throws java.io.IOException
Test normal record storage within a leaf node. Use empty value for variable length fields. Chained-buffers will not be utilized.- Throws:
java.io.IOException
-
testInsertVarKeyRecordWithNullField
public void testInsertVarKeyRecordWithNullField() throws java.io.IOException
Test normal record storage within a leaf node. Use NULL value for variable length fields. Chained-buffers will not be utilized.- Throws:
java.io.IOException
-
testInsertSingleChainedBufferVarKeyRecord
public void testInsertSingleChainedBufferVarKeyRecord() throws java.io.IOException
Test the use of chained-buffers for record storage. Chained-buffers will not utilize an index buffer.- Throws:
java.io.IOException
-
testInsertMultChainedBuffersVarKeyRecord
public void testInsertMultChainedBuffersVarKeyRecord() throws java.io.IOException
Test the use of chained-buffers for record storage. Chained-buffers will be forced to utilize 1 buffer for storing indexes.- Throws:
java.io.IOException
-
testInsertVeryLargeChainedBuffersVarKeyRecord
public void testInsertVeryLargeChainedBuffersVarKeyRecord() throws java.io.IOException
Test the use of chained-buffers for record storage. Chained-buffers will be forced to utilize 3 buffers for storing indexes.- Throws:
java.io.IOException
-
testGetSmallVarKeyRecord
public void testGetSmallVarKeyRecord() throws java.io.IOException
Test normal record storage within a leaf node. Chained-buffers will not be utilized.- Throws:
java.io.IOException
-
testGetSingleChainedBufferVarKeyRecord
public void testGetSingleChainedBufferVarKeyRecord() throws java.io.IOException
Test the use of chained-buffers for record storage. Chained-buffers will not utilize an index buffer.- Throws:
java.io.IOException
-
testGetMultChainedBuffersVarKeyRecord
public void testGetMultChainedBuffersVarKeyRecord() throws java.io.IOException
Test the use of chained-buffers for record storage. Chained-buffers will be forced to utilize 1 buffer for storing indexes.- Throws:
java.io.IOException
-
testGetVeryLargeChainedBuffersVarKeyRecord
public void testGetVeryLargeChainedBuffersVarKeyRecord() throws java.io.IOException
Test the use of chained-buffers for record storage. Chained-buffers will be forced to utilize 3 buffers for storing indexes.- Throws:
java.io.IOException
-
testGetStoredSmallVarKeyRecord
public void testGetStoredSmallVarKeyRecord() throws java.io.IOException
Test normal record storage within a leaf node. Chained-buffers will not be utilized.- Throws:
java.io.IOException
-
testGetStoredSingleChainedBufferVarKeyRecord
public void testGetStoredSingleChainedBufferVarKeyRecord() throws java.io.IOException
Test the use of chained-buffers for record storage. Chained-buffers will not utilize an index buffer.- Throws:
java.io.IOException
-
testGetStoredMultChainedBuffersVarKeyRecord
public void testGetStoredMultChainedBuffersVarKeyRecord() throws java.io.IOException
Test the use of chained-buffers for record storage. Chained-buffers will be forced to utilize 1 buffer for storing indexes.- Throws:
java.io.IOException
-
testGetStoredVeryLargeChainedBuffersVarKeyRecord
public void testGetStoredVeryLargeChainedBuffersVarKeyRecord() throws java.io.IOException
Test the use of chained-buffers for record storage. Chained-buffers will be forced to utilize 3 buffers for storing indexes.- Throws:
java.io.IOException
-
testGetMissingVarKeyRecord
public void testGetMissingVarKeyRecord() throws java.io.IOException
- Throws:
java.io.IOException
-
testStoredGetMissingVarKeyRecord
public void testStoredGetMissingVarKeyRecord() throws java.io.IOException
- Throws:
java.io.IOException
-
testRandomVarKeyRecordIterator
public void testRandomVarKeyRecordIterator() throws java.io.IOException
- Throws:
java.io.IOException
-
testForwardVarKeyRecordIterator
public void testForwardVarKeyRecordIterator() throws java.io.IOException
- Throws:
java.io.IOException
-
testBackwardVarKeyRecordIterator
public void testBackwardVarKeyRecordIterator() throws java.io.IOException
- Throws:
java.io.IOException
-
testStoredVarKeyRandomRecordIterator
public void testStoredVarKeyRandomRecordIterator() throws java.io.IOException
- Throws:
java.io.IOException
-
testStoredForwardVarKeyRecordIterator
public void testStoredForwardVarKeyRecordIterator() throws java.io.IOException
- Throws:
java.io.IOException
-
testStoredBackwardVarKeyRecordIterator
public void testStoredBackwardVarKeyRecordIterator() throws java.io.IOException
- Throws:
java.io.IOException
-
testBigRandomVarKeyRecordIterator
public void testBigRandomVarKeyRecordIterator() throws java.io.IOException
- Throws:
java.io.IOException
-
testBigForwardVarKeyRecordIterator
public void testBigForwardVarKeyRecordIterator() throws java.io.IOException
- Throws:
java.io.IOException
-
testBigBackwardVarKeyRecordIterator
public void testBigBackwardVarKeyRecordIterator() throws java.io.IOException
- Throws:
java.io.IOException
-
testBigStoredRandomVarKeyRecordIterator
public void testBigStoredRandomVarKeyRecordIterator() throws java.io.IOException
- Throws:
java.io.IOException
-
testBigStoredForwardVarKeyRecordIterator
public void testBigStoredForwardVarKeyRecordIterator() throws java.io.IOException
- Throws:
java.io.IOException
-
testBigStoredBackwardVarKeyRecordIterator
public void testBigStoredBackwardVarKeyRecordIterator() throws java.io.IOException
- Throws:
java.io.IOException
-
testRandomVarKeyIterator
public void testRandomVarKeyIterator() throws java.io.IOException
- Throws:
java.io.IOException
-
testForwardVarKeyIterator
public void testForwardVarKeyIterator() throws java.io.IOException
- Throws:
java.io.IOException
-
testForwardSkippingVarKeyIterator
public void testForwardSkippingVarKeyIterator() throws java.io.IOException
- Throws:
java.io.IOException
-
testForwardDeleteIterator
public void testForwardDeleteIterator() throws java.io.IOException
- Throws:
java.io.IOException
-
testReverseDeleteIterator
public void testReverseDeleteIterator() throws java.io.IOException
- Throws:
java.io.IOException
-
testGetVarKeyRecordAfter
public void testGetVarKeyRecordAfter() throws java.io.IOException
- Throws:
java.io.IOException
-
testGetVarKeyRecordAtOrAfter
public void testGetVarKeyRecordAtOrAfter() throws java.io.IOException
- Throws:
java.io.IOException
-
testGetVarKeyRecordAtOrBefore
public void testGetVarKeyRecordAtOrBefore() throws java.io.IOException
- Throws:
java.io.IOException
-
testDeleteVarKeyRecord
public void testDeleteVarKeyRecord() throws java.io.IOException
- Throws:
java.io.IOException
-
testForwardDeleteVarKeyRecord
public void testForwardDeleteVarKeyRecord() throws java.io.IOException
- Throws:
java.io.IOException
-
testReverseDeleteVarKeyRecord
public void testReverseDeleteVarKeyRecord() throws java.io.IOException
- Throws:
java.io.IOException
-
testDeleteAllVarKeyRecords
public void testDeleteAllVarKeyRecords() throws java.io.IOException
- Throws:
java.io.IOException
-
testDeleteVarKeyRangeRecords
public void testDeleteVarKeyRangeRecords() throws java.io.IOException
- Throws:
java.io.IOException
-
testDeleteVarKeyRangeAllRecords
public void testDeleteVarKeyRangeAllRecords() throws java.io.IOException
- Throws:
java.io.IOException
-
testUpdateVarKeyRecord
public void testUpdateVarKeyRecord() throws java.io.IOException
- Throws:
java.io.IOException
-
testUpdateBigVarKeyRecord
public void testUpdateBigVarKeyRecord() throws java.io.IOException
- Throws:
java.io.IOException
-
-