net.sf.saffron.sql.parser
Class SqlParserTest
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--net.sf.saffron.sql.parser.SqlParserTest
- All Implemented Interfaces:
- Test
- public class SqlParserTest
- extends TestCase
A SqlParserTest
is a unit-test for the SQL
parser
.
- Since:
- Mar 19, 2003
- Version:
- $Id: //open/saffron/src/net/sf/saffron/sql/parser/SqlParserTest.java#5 $
- Author:
- jhyde
Fields inherited from class junit.framework.TestCase |
|
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 |
NL
private static final String NL
SqlParserTest
public SqlParserTest(String name)
_testDerivedColumnList
public void _testDerivedColumnList()
_testDerivedColumnListInJoin
public void _testDerivedColumnListInJoin()
_testDerivedColumnListNoAs
public void _testDerivedColumnListNoAs()
_testDerivedColumnListWithAlias
public void _testDerivedColumnListWithAlias()
_testEmbeddedCall
public void _testEmbeddedCall()
_testEmbeddedFunction
public void _testEmbeddedFunction()
testColumnAliasWithAs
public void testColumnAliasWithAs()
testColumnAliasWithoutAs
public void testColumnAliasWithoutAs()
testEmbeddedDate
public void testEmbeddedDate()
testEmbeddedTime
public void testEmbeddedTime()
testEmbeddedTimestamp
public void testEmbeddedTimestamp()
testExists
public void testExists()
testExistsInWhere
public void testExistsInWhere()
testFromWithAs
public void testFromWithAs()
testFunction
public void testFunction()
testGroup
public void testGroup()
testHavingAfterGroup
public void testHavingAfterGroup()
testHavingBeforeGroupFails
public void testHavingBeforeGroupFails()
testHavingNoGroup
public void testHavingNoGroup()
testIdentifier
public void testIdentifier()
testInList
public void testInList()
_testInListEmpty
public void _testInListEmpty()
testInQuery
public void testInQuery()
testInSetop
public void testInSetop()
testJoinCross
public void testJoinCross()
testJoinOn
public void testJoinOn()
testOuterJoinNoiseword
public void testOuterJoinNoiseword()
testJoinQuery
public void testJoinQuery()
testFullInnerJoinFails
public void testFullInnerJoinFails()
testFullOuterJoin
public void testFullOuterJoin()
testInnerOuterJoinFails
public void testInnerOuterJoinFails()
_testJoinAssociativity
public void _testJoinAssociativity()
testNaturalCrossJoin
public void testNaturalCrossJoin()
testJoinUsing
public void testJoinUsing()
testLiteral
public void testLiteral()
testMixedFrom
public void testMixedFrom()
testMixedStar
public void testMixedStar()
testNotExists
public void testNotExists()
testOrder
public void testOrder()
testParseNumber
public void testParseNumber()
testPrecedence0
public void testPrecedence0()
testPrecedence1
public void testPrecedence1()
testPrecedence2
public void testPrecedence2()
testPrecedence3
public void testPrecedence3()
testPrecedence4
public void testPrecedence4()
testPrecedence5
public void testPrecedence5()
testPrecedenceSetOps
public void testPrecedenceSetOps()
testQueryInFrom
public void testQueryInFrom()
testQuotesInString
public void testQuotesInString()
testScalarQueryInWhere
public void testScalarQueryInWhere()
testSelectList
public void testSelectList()
testSelectList2
public void testSelectList2()
testSelectList3
public void testSelectList3()
testSelectList4
public void testSelectList4()
testStar
public void testStar()
testSelectDistinct
public void testSelectDistinct()
testSelectUnique
public void testSelectUnique()
testWhere
public void testWhere()
testValues
public void testValues()
testFromValues
public void testFromValues()
testEmptyValues
public void testEmptyValues()
testExplain
public void testExplain()
testExplainWithImpl
public void testExplainWithImpl()
testExplainWithoutImpl
public void testExplainWithoutImpl()
testInsertSelect
public void testInsertSelect()
testInsertUnion
public void testInsertUnion()
testInsertValues
public void testInsertValues()
testInsertColumnList
public void testInsertColumnList()
testExplainInsert
public void testExplainInsert()
testDelete
public void testDelete()
testDeleteWhere
public void testDeleteWhere()
check
private void check(String sql,
String expected)
checkExp
private void checkExp(String sql,
String expected)
checkFails
private void checkFails(String sql,
String exceptionPattern)