|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object tests.TestDriver tests.ROTest
class ROTest
Test suite for the relop layer.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class tests.TestDriver |
---|
TestDriver.CountData |
Field Summary | |
---|---|
private static Schema |
s_drivers
Drivers table schema. |
private static Schema |
s_groups
Groups table schema. |
private static Schema |
s_rides
Rides table schema. |
private static int |
SUPER_SIZE
Size of tables in test3. |
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 | |
---|---|
ROTest()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] argv)
Test application entry point; runs all tests. |
protected boolean |
test1()
|
protected boolean |
test2()
SELECT * FROM Drivers D INNER JOIN Rides R ON (D.DriverId = R.DriverId); |
protected boolean |
test3()
SELECT * FROM Groups G INNER JOIN Rides R ON (G.GroupId = R.GroupId) INNER JOIN Drivers D ON (R.DriverId = D.DriverId) WHERE D.NumSeats < G.GroupId; |
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 SUPER_SIZE
private static Schema s_drivers
private static Schema s_rides
private static Schema s_groups
Constructor Detail |
---|
ROTest()
Method Detail |
---|
public static void main(java.lang.String[] argv)
protected boolean test1()
protected boolean test2()
protected boolean test3()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |