tests
Class HFTest

java.lang.Object
  extended by tests.TestDriver
      extended by tests.HFTest
All Implemented Interfaces:
GlobalConst

 class HFTest
extends TestDriver

Test suite for the heap layer.


Nested Class Summary
(package private)  class HFTest.DummyRecord
          Used in fixed-length record test cases.
 
Nested classes/interfaces inherited from class tests.TestDriver
TestDriver.CountData
 
Field Summary
private static int FILE_SIZE
          Size of heap file to create in test cases (65 for multiple data pages; 6500 for multiple directory pages).
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
HFTest()
           
 
Method Summary
static void main(java.lang.String[] argv)
          Test application entry point; runs all tests.
protected  boolean test1()
           
protected  boolean test2()
           
protected  boolean test3()
           
protected  boolean test4()
           
 
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

TEST_NAME

private static final java.lang.String TEST_NAME
The display name of the test suite.

See Also:
Constant Field Values

FILE_SIZE

private static final int FILE_SIZE
Size of heap file to create in test cases (65 for multiple data pages; 6500 for multiple directory pages).

See Also:
Constant Field Values
Constructor Detail

HFTest

HFTest()
Method Detail

main

public static void main(java.lang.String[] argv)
Test application entry point; runs all tests.


test1

protected boolean test1()

test2

protected boolean test2()

test3

protected boolean test3()

test4

protected boolean test4()