public class Tests extends Object
Modifier and Type | Class and Description |
---|---|
private class |
Tests.SimpleData |
private class |
Tests.SimpleDataSource |
private class |
Tests.SimpleDataSourceTable |
private class |
Tests.Test |
Modifier and Type | Field and Description |
---|---|
private static int |
FIELD_A_ID |
private static int |
FIELD_A_S |
private static int |
FIELD_CARS_ID |
private static int |
FIELD_CARS_MAKE |
private static int |
FIELD_CARS_MODEL |
private static int |
FIELD_CARS_OWNER |
private static int |
FIELD_LOCATION_CITY |
private static int |
FIELD_LOCATION_ID |
private static int |
FIELD_LOCATION_STATE |
private static int |
FIELD_PERSON_ID |
private static int |
FIELD_PERSON_LOCATION |
private static int |
FIELD_PERSON_NAME |
private static int |
TABLE_A |
private static int |
TABLE_CARS |
private static int |
TABLE_LOCATION |
private static int |
TABLE_PERSON |
private Tests.Test[] |
tests |
Constructor and Description |
---|
Tests() |
Modifier and Type | Method and Description |
---|---|
private Condition |
buildCondition(Object left,
int operator,
Object right) |
private DataSource |
buildDB() |
private Equation |
buildEquation(Object left,
int operator,
Object right) |
FunctionDef |
buildFunction(Aggregate function,
Object argument) |
FunctionDef |
buildFunction(Function function,
Object argument) |
private Join |
buildJoin(Object left,
int type,
Table right,
Equation eq) |
private Select |
buildSelect(Object[] columnList,
Object[] tableList,
Object where,
FQColumn[] groupBy,
Object[][] orderBy) |
private void |
buildTestCases() |
private void |
go() |
static void |
main(String[] args) |
private void |
runAllTests() |
private boolean |
runTest(int index) |
private void |
runTests(int from,
int to) |
private Tests.Test[] tests
private static final int TABLE_CARS
private static final int FIELD_CARS_ID
private static final int FIELD_CARS_MAKE
private static final int FIELD_CARS_MODEL
private static final int FIELD_CARS_OWNER
private static final int TABLE_PERSON
private static final int FIELD_PERSON_ID
private static final int FIELD_PERSON_NAME
private static final int FIELD_PERSON_LOCATION
private static final int TABLE_A
private static final int FIELD_A_ID
private static final int FIELD_A_S
private static final int TABLE_LOCATION
private static final int FIELD_LOCATION_ID
private static final int FIELD_LOCATION_CITY
private static final int FIELD_LOCATION_STATE
public static void main(String[] args)
private void go()
private boolean runTest(int index) throws SQLException
SQLException
private void runAllTests() throws SQLException
SQLException
private void runTests(int from, int to) throws SQLException
SQLException
private void buildTestCases()
private DataSource buildDB()
private Select buildSelect(Object[] columnList, Object[] tableList, Object where, FQColumn[] groupBy, Object[][] orderBy)
public FunctionDef buildFunction(Function function, Object argument)
public FunctionDef buildFunction(Aggregate function, Object argument)
Copyright © 2015 Open Microscopy Environment