use of org.teiid.query.sql.proc.CommandStatement in project teiid by teiid.
the class TestSQLStringVisitor method testCommandStatement2.
@Test
public void testCommandStatement2() {
Delete d1 = new Delete();
// $NON-NLS-1$
d1.setGroup(new GroupSymbol("g"));
CommandStatement cmdStmt = new CommandStatement(d1);
// $NON-NLS-1$
helpTest(cmdStmt, "DELETE FROM g;");
}
use of org.teiid.query.sql.proc.CommandStatement in project teiid by teiid.
the class TestCommandStatement method testNonEquivalence.
public void testNonEquivalence() {
CommandStatement s1 = sample1();
CommandStatement s2 = sample2();
int equals = -1;
UnitTestUtil.helpTestEquivalence(equals, s1, s2);
}
Aggregations