Search in sources :

Example 6 with PlanTermItem

use of com.cubrid.common.core.queryplan.model.PlanTermItem in project cubrid-manager by CUBRID.

the class QueryPlanTest method testModelPlanTerm.

public void testModelPlanTerm() {
    PlanTerm bean = new PlanTerm();
    bean.setType(PlanTermType.EDGE);
    assertEquals(bean.getType(), PlanTermType.EDGE);
    bean.setName("name");
    assertEquals(bean.getName(), "name");
    bean.addTermItem(new PlanTermItem());
    // assertEquals(bean.getTermItem() instanceof List, true);
    bean.getTypeString();
    bean.getTermString();
    bean.getTermItems();
    assertEquals(bean.toString() == null, false);
}
Also used : PlanTermItem(com.cubrid.common.core.queryplan.model.PlanTermItem) PlanTerm(com.cubrid.common.core.queryplan.model.PlanTerm)

Aggregations

PlanTermItem (com.cubrid.common.core.queryplan.model.PlanTermItem)6 PlanTerm (com.cubrid.common.core.queryplan.model.PlanTerm)3 Matcher (java.util.regex.Matcher)1 Pattern (java.util.regex.Pattern)1 TreeItem (org.eclipse.swt.widgets.TreeItem)1