use of org.teiid.query.sql.lang.SubquerySetCriteria in project teiid by teiid.
the class TestStaticSymbolMappingVisitor method testVisitSubquerySetCriteria.
public void testVisitSubquerySetCriteria() {
SubquerySetCriteria ssc = new SubquerySetCriteria();
// $NON-NLS-1$
ssc.setExpression(new Function("length", new Expression[] { exampleElement(true, 0) }));
ssc.setCommand(new Query());
helpTest(ssc, getSymbolMap());
}
use of org.teiid.query.sql.lang.SubquerySetCriteria in project teiid by teiid.
the class TestSubquerySetCriteria method testEquals3.
public void testEquals3() {
SubquerySetCriteria c1 = example1();
SubquerySetCriteria c2 = c1.clone();
c2.setNegated(true);
// $NON-NLS-1$
assertFalse("Set criteria are not the same", c1.equals(c2));
}
Aggregations