|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object tests.TestDriver tests.IXTest
class IXTest
Test suite for the index layer.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class tests.TestDriver |
---|
TestDriver.CountData |
Field Summary | |
---|---|
private static int |
FILE_SIZE
Size of index files to create in test cases. |
private static java.lang.String |
TEST_NAME
The display name of the test suite. |
Fields inherited from class tests.TestDriver |
---|
BUF_POLICY, BUF_SIZE, counts, DB_PATH, DB_SIZE, FAIL, PASS, random |
Fields inherited from interface global.GlobalConst |
---|
EMPTY_SLOT, FIRST_PAGEID, INVALID_PAGEID, MAX_COLSIZE, MAX_TUPSIZE, NAME_MAXLEN, PAGE_SIZE, PIN_DISKIO, PIN_MEMCPY, UNPIN_CLEAN, UNPIN_DIRTY |
Constructor Summary | |
---|---|
IXTest()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] argv)
Test application entry point; runs all tests. |
protected java.lang.String |
randEmail()
Using the novel algorithm described here: http://www.homestarrunner.com/sbemail143.html |
protected SearchKey |
randKey(int type)
Gets a random search key, given the type. |
protected boolean |
test1()
Simple use of temp index. |
protected boolean |
test2()
HashIndex under normal conditions. |
protected boolean |
test3()
Index package error cases. |
protected void |
testrand()
Test random email generator. |
Methods inherited from class tests.TestDriver |
---|
create_minibase, delete_minibase, initCounts, initRandom, load_minibase, printCounters, printSummary, saveCounts |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final java.lang.String TEST_NAME
private static final int FILE_SIZE
Constructor Detail |
---|
IXTest()
Method Detail |
---|
public static void main(java.lang.String[] argv)
protected boolean test1()
protected boolean test2()
protected boolean test3()
protected SearchKey randKey(int type)
protected void testrand()
protected java.lang.String randEmail()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |