use of org.teiid.translator.phoenix.PhoenixExecutionFactory in project teiid by teiid.
the class TestSQLConversionVisitor method helpTest.
private void helpTest(String sql, String expected) throws TranslatorException {
Command command = translationUtility.parseCommand(sql);
PhoenixExecutionFactory ef = new PhoenixExecutionFactory();
ef.start();
SQLConversionVisitor vistor = ef.getSQLConversionVisitor();
vistor.append(command);
assertEquals(expected, vistor.toString());
}
Aggregations