org.eigenbase.test
Class SqlValidatorFeatureTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.eigenbase.test.SqlValidatorTestCase
org.eigenbase.test.SqlValidatorFeatureTest
- All Implemented Interfaces:
- Test
public class SqlValidatorFeatureTest
- extends SqlValidatorTestCase
SqlValidatorFeatureTest verifies that features can be independently enabled
or disabled.
- Version:
- $Id: //open/dev/farrago/src/org/eigenbase/test/SqlValidatorFeatureTest.java#16 $
- Author:
- John V. Sichi
Methods inherited from class org.eigenbase.test.SqlValidatorTestCase |
assertExceptionIsThrown, check, checkCharset, checkCollation, checkColumnType, checkEx, checkExp, checkExpFails, checkExpType, checkFails, checkIntervalConv, checkResultType, checkWholeExpFails |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
FEATURE_DISABLED
private static final String FEATURE_DISABLED
- See Also:
- Constant Field Values
disabledFeature
private org.eigenbase.resgen.ResourceDefinition disabledFeature
SqlValidatorFeatureTest
public SqlValidatorFeatureTest(String name)
getTester
public SqlValidatorTestCase.Tester getTester(SqlConformance conformance)
- Description copied from class:
SqlValidatorTestCase
- Returns a tester. Derived classes should override this method to run the
same set of tests in a different testing environment.
- Overrides:
getTester
in class SqlValidatorTestCase
- Parameters:
conformance
- Language version tests should check compatibility with
testDistinct
public void testDistinct()
testOrderByDesc
public void testOrderByDesc()
testIntersect
public void testIntersect()
testExcept
public void testExcept()
testMultiset
public void testMultiset()
testTablesample
public void testTablesample()
checkFeature
private void checkFeature(String sql,
org.eigenbase.resgen.ResourceDefinition feature)