Search in sources :

Example 31 with RowNumberCol52

use of org.drools.workbench.models.guided.dtable.shared.model.RowNumberCol52 in project drools-wb by kiegroup.

the class ActionInsertFactCol52DefinitionBuilderTest method unknownColumnTypeDoesNotTriggerBuilder.

@Test
public void unknownColumnTypeDoesNotTriggerBuilder() {
    final BaseColumn column = new RowNumberCol52();
    builder.generateDefinition(dtPresenter, column, (String definition) -> {
        fail("RowNumberCol52 should not be handled by ActionInsertFactCol52DefinitionBuilder");
    });
}
Also used : BaseColumn(org.drools.workbench.models.guided.dtable.shared.model.BaseColumn) RowNumberCol52(org.drools.workbench.models.guided.dtable.shared.model.RowNumberCol52) Test(org.junit.Test)

Example 32 with RowNumberCol52

use of org.drools.workbench.models.guided.dtable.shared.model.RowNumberCol52 in project drools-wb by kiegroup.

the class ActionSetFieldCol52DefinitionBuilderTest method unknownColumnTypeDoesNotTriggerBuilder.

@Test
public void unknownColumnTypeDoesNotTriggerBuilder() {
    final BaseColumn column = new RowNumberCol52();
    builder.generateDefinition(dtPresenter, column, (String definition) -> {
        fail("RowNumberCol52 should not be handled by ActionSetFieldCol52DefinitionBuilder");
    });
}
Also used : BaseColumn(org.drools.workbench.models.guided.dtable.shared.model.BaseColumn) RowNumberCol52(org.drools.workbench.models.guided.dtable.shared.model.RowNumberCol52) Test(org.junit.Test)

Example 33 with RowNumberCol52

use of org.drools.workbench.models.guided.dtable.shared.model.RowNumberCol52 in project drools-wb by kiegroup.

the class ActionRetractFactCol52DefinitionBuilderTest method unknownColumnTypeDoesNotTriggerBuilder.

@Test
public void unknownColumnTypeDoesNotTriggerBuilder() {
    final BaseColumn column = new RowNumberCol52();
    builder.generateDefinition(dtPresenter, column, (String definition) -> {
        fail("RowNumberCol52 should not be handled by ActionRetractFactCol52DefinitionBuilder");
    });
}
Also used : BaseColumn(org.drools.workbench.models.guided.dtable.shared.model.BaseColumn) RowNumberCol52(org.drools.workbench.models.guided.dtable.shared.model.RowNumberCol52) Test(org.junit.Test)

Example 34 with RowNumberCol52

use of org.drools.workbench.models.guided.dtable.shared.model.RowNumberCol52 in project drools-wb by kiegroup.

the class ConditionCol52DefinitionBuilderTest method unknownColumnTypeDoesNotTriggerBuilder.

@Test
public void unknownColumnTypeDoesNotTriggerBuilder() {
    final BaseColumn column = new RowNumberCol52();
    builder.generateDefinition(dtPresenter, column, (String definition) -> {
        fail("RowNumberCol52 should not be handled by ConditionCol52DefinitionBuilder");
    });
}
Also used : BaseColumn(org.drools.workbench.models.guided.dtable.shared.model.BaseColumn) RowNumberCol52(org.drools.workbench.models.guided.dtable.shared.model.RowNumberCol52) Test(org.junit.Test)

Example 35 with RowNumberCol52

use of org.drools.workbench.models.guided.dtable.shared.model.RowNumberCol52 in project drools-wb by kiegroup.

the class LimitedEntryActionInsertFactCol52DefinitionBuilderTest method unknownColumnTypeDoesNotTriggerBuilder.

@Test
public void unknownColumnTypeDoesNotTriggerBuilder() {
    final BaseColumn column = new RowNumberCol52();
    builder.generateDefinition(dtPresenter, column, (String definition) -> {
        fail("RowNumberCol52 should not be handled by ActionInsertFactCol52DefinitionBuilder");
    });
}
Also used : BaseColumn(org.drools.workbench.models.guided.dtable.shared.model.BaseColumn) RowNumberCol52(org.drools.workbench.models.guided.dtable.shared.model.RowNumberCol52) Test(org.junit.Test)

Aggregations

RowNumberCol52 (org.drools.workbench.models.guided.dtable.shared.model.RowNumberCol52)82 Test (org.junit.Test)70 DescriptionCol52 (org.drools.workbench.models.guided.dtable.shared.model.DescriptionCol52)66 BaseColumn (org.drools.workbench.models.guided.dtable.shared.model.BaseColumn)57 ArrayList (java.util.ArrayList)47 GuidedDecisionTable52 (org.drools.workbench.models.guided.dtable.shared.model.GuidedDecisionTable52)33 SingleFieldConstraint (org.drools.workbench.models.datamodel.rule.SingleFieldConstraint)24 BRLConditionVariableColumn (org.drools.workbench.models.guided.dtable.shared.model.BRLConditionVariableColumn)23 ConditionCol52 (org.drools.workbench.models.guided.dtable.shared.model.ConditionCol52)23 DTCellValue52 (org.drools.workbench.models.guided.dtable.shared.model.DTCellValue52)23 FactPattern (org.drools.workbench.models.datamodel.rule.FactPattern)22 BRLConditionColumn (org.drools.workbench.models.guided.dtable.shared.model.BRLConditionColumn)22 RuleModel (org.drools.workbench.models.datamodel.rule.RuleModel)21 Pattern52 (org.drools.workbench.models.guided.dtable.shared.model.Pattern52)21 GuidedDTTemplateDataProvider (org.drools.workbench.models.guided.dtable.backend.util.GuidedDTTemplateDataProvider)19 TemplateDataProvider (org.drools.workbench.models.guided.dtable.backend.util.TemplateDataProvider)19 BRLActionColumn (org.drools.workbench.models.guided.dtable.shared.model.BRLActionColumn)19 BRLActionVariableColumn (org.drools.workbench.models.guided.dtable.shared.model.BRLActionVariableColumn)18 IOException (java.io.IOException)17 InputStream (java.io.InputStream)17