use of org.drools.workbench.models.guided.dtable.shared.model.ActionWorkItemCol52 in project drools-wb by kiegroup.
the class ActionWorkItemInsertFactColumnSynchronizerTest method setupWorkItemExecution.
@Before
public void setupWorkItemExecution() throws VetoException {
final ActionWorkItemCol52 column = new ActionWorkItemCol52();
final PortableWorkDefinition pwd = new PortableWorkDefinition();
pwd.setName(WORK_ITEM_NAME);
column.setWorkItemDefinition(pwd);
column.setHeader("wid");
modelSynchronizer.appendColumn(column);
}
use of org.drools.workbench.models.guided.dtable.shared.model.ActionWorkItemCol52 in project drools-wb by kiegroup.
the class DecisionTableColumnViewUtilsTest method testColumnManagementGroupTitleWorkItemAction.
@Test
public void testColumnManagementGroupTitleWorkItemAction() throws Exception {
final ActionWorkItemCol52 column = mock(ActionWorkItemCol52.class);
assertEquals(GuidedDecisionTableConstants.INSTANCE.ExecuteWorkItemActions(), DecisionTableColumnViewUtils.getColumnManagementGroupTitle(column));
}
use of org.drools.workbench.models.guided.dtable.shared.model.ActionWorkItemCol52 in project drools-wb by kiegroup.
the class ActionWorkItemSetFieldPluginTest method secondFakeWorkItem.
private ActionWorkItemCol52 secondFakeWorkItem() {
final ActionWorkItemCol52 workItemCol52 = new ActionWorkItemCol52();
final PortableWorkDefinition portableWorkDefinition = new PortableWorkDefinition();
final PortableParameterDefinition portableFloatParameterDefinition = new PortableFloatParameterDefinition();
portableFloatParameterDefinition.setName("FloatResult");
portableWorkDefinition.setResults(Collections.singleton(portableFloatParameterDefinition));
portableWorkDefinition.setName("FloatWorkItemName");
portableWorkDefinition.setDisplayName("FloatWorkItemDisplayName");
workItemCol52.setWorkItemDefinition(portableWorkDefinition);
return workItemCol52;
}
Aggregations