net.sf.saffron.sql2rel
Class ConverterTest
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--net.sf.saffron.sql2rel.ConverterTest
- All Implemented Interfaces:
- Test
- public class ConverterTest
- extends TestCase
Unit test for SqlToRelConverter
.
TODO 15-Nov-2003: pull diff-based-testing infrastructure up from Farrago
and use external files instead of inlining expected results here.
Fields inherited from class junit.framework.TestCase |
|
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 |
NL
private static final String NL
testContext
private static ConverterTest.TestContext testContext
pattern
private static final Pattern pattern
pattern2
private static final Pattern pattern2
ConverterTest
public ConverterTest()
setUp
protected void setUp()
throws Exception
- Overrides:
setUp
in class TestCase
Exception
testIntegerLiteral
public void testIntegerLiteral()
testStringLiteral
public void testStringLiteral()
testSelectListAlias
public void testSelectListAlias()
testSelectListColumns
public void testSelectListColumns()
testFromList
public void testFromList()
testFromAlias
public void testFromAlias()
testFromJoin
public void testFromJoin()
_testFromLeftJoinUsing
public void _testFromLeftJoinUsing()
testFromFullJoin
public void testFromFullJoin()
testFromJoin3
public void testFromJoin3()
_testFromNaturalRightJoin
public void _testFromNaturalRightJoin()
testWhereSimple
public void testWhereSimple()
testWhereAnd
public void testWhereAnd()
_testOrder
public void _testOrder()
_testOrderOrdinal
public void _testOrderOrdinal()
_testOrderLiteral
public void _testOrderLiteral()
_testFromQuery
public void _testFromQuery()
testQueryInSelect
public void testQueryInSelect()
testExistsUncorrelated
public void testExistsUncorrelated()
_testQueryInWhereUncorrelated
public void _testQueryInWhereUncorrelated()
testExistsCorrelated
public void testExistsCorrelated()
testUnion
public void testUnion()
testUnionInFrom
public void testUnionInFrom()
testJoinOfValues
public void testJoinOfValues()
_testComplexCorrelation
public void _testComplexCorrelation()
_testInList
public void _testInList()
_testInValues
public void _testInValues()
_testInCompound
public void _testInCompound()
_testInSquared
public void _testInSquared()
check
private void check(String sql,
String plan)
getTestContext
static ConverterTest.TestContext getTestContext()