org.eigenbase.sql.parser
Class SqlParserTest.UnparsingTesterImpl
java.lang.Object
org.eigenbase.sql.parser.SqlParserTest.TesterImpl
org.eigenbase.sql.parser.SqlParserTest.UnparsingTesterImpl
- All Implemented Interfaces:
- SqlParserTest.Tester
- Enclosing class:
- SqlParserTest
public class SqlParserTest.UnparsingTesterImpl
- extends SqlParserTest.TesterImpl
Implementation of SqlParserTest.Tester
which makes sure that the results of
unparsing a query are consistent with the original query.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SqlParserTest.UnparsingTesterImpl
public SqlParserTest.UnparsingTesterImpl()
check
public void check(String sql,
String expected)
- Specified by:
check
in interface SqlParserTest.Tester
- Overrides:
check
in class SqlParserTest.TesterImpl
checkExp
public void checkExp(String sql,
String expected)
- Specified by:
checkExp
in interface SqlParserTest.Tester
- Overrides:
checkExp
in class SqlParserTest.TesterImpl
checkFails
public void checkFails(String sql,
String expectedMsgPattern)
- Specified by:
checkFails
in interface SqlParserTest.Tester
- Overrides:
checkFails
in class SqlParserTest.TesterImpl
checkExpFails
public void checkExpFails(String sql,
String expectedMsgPattern)
- Description copied from class:
SqlParserTest.TesterImpl
- Tests that an expression throws an exception which matches the given
pattern.
- Specified by:
checkExpFails
in interface SqlParserTest.Tester
- Overrides:
checkExpFails
in class SqlParserTest.TesterImpl