Search in sources :

Example 36 with SLADueDate

use of org.kie.workbench.common.stunner.bpmn.definition.property.general.SLADueDate in project kie-wb-common by kiegroup.

the class CallActivityPropertyWriterTest method testSetSlaDueDate.

@Test
public void testSetSlaDueDate() {
    String slaDueDate = "12/25/1983";
    tested.setSlaDueDate(new SLADueDate(slaDueDate));
    assertTrue(CustomElement.slaDueDate.of(tested.getFlowElement()).get().contains(slaDueDate));
}
Also used : SLADueDate(org.kie.workbench.common.stunner.bpmn.definition.property.general.SLADueDate) Test(org.junit.Test)

Example 37 with SLADueDate

use of org.kie.workbench.common.stunner.bpmn.definition.property.general.SLADueDate in project kie-wb-common by kiegroup.

the class EmbeddedSubprocessPropertyWriterTest method testSetSlaDueDate.

@Test
public void testSetSlaDueDate() {
    String slaDueDate = "12/25/1983";
    tested.setSlaDueDate(new SLADueDate(slaDueDate));
    assertTrue(CustomElement.slaDueDate.of(tested.getFlowElement()).get().contains(slaDueDate));
}
Also used : SLADueDate(org.kie.workbench.common.stunner.bpmn.definition.property.general.SLADueDate) Test(org.junit.Test)

Example 38 with SLADueDate

use of org.kie.workbench.common.stunner.bpmn.definition.property.general.SLADueDate in project kie-wb-common by kiegroup.

the class EventSubprocessPropertyWriterTest method testSetSlaDueDate.

@Test
public void testSetSlaDueDate() {
    String slaDueDate = "12/25/1983";
    tested.setSlaDueDate(new SLADueDate(slaDueDate));
    assertTrue(CustomElement.slaDueDate.of(tested.getFlowElement()).get().contains(slaDueDate));
}
Also used : SLADueDate(org.kie.workbench.common.stunner.bpmn.definition.property.general.SLADueDate) Test(org.junit.Test)

Example 39 with SLADueDate

use of org.kie.workbench.common.stunner.bpmn.definition.property.general.SLADueDate in project kie-wb-common by kiegroup.

the class MultipleInstanceSubProcessPropertyWriterTest method testSetSlaDueDate.

@Test
public void testSetSlaDueDate() {
    String slaDueDate = "12/25/1983";
    tested.setSlaDueDate(new SLADueDate(slaDueDate));
    assertTrue(CustomElement.slaDueDate.of(tested.getFlowElement()).get().contains(slaDueDate));
}
Also used : SLADueDate(org.kie.workbench.common.stunner.bpmn.definition.property.general.SLADueDate) Test(org.junit.Test)

Example 40 with SLADueDate

use of org.kie.workbench.common.stunner.bpmn.definition.property.general.SLADueDate in project kie-wb-common by kiegroup.

the class ProcessPropertyWriterTest method slaDueDate.

@Test
public void slaDueDate() {
    SLADueDate slaDueDate = new SLADueDate("12/25/1983");
    p.setSlaDueDate(slaDueDate);
    String slaDueDateString = CustomElement.slaDueDate.of(p.getProcess()).get();
    assertThat(slaDueDateString).isEqualTo("<![CDATA[12/25/1983]]>");
}
Also used : SLADueDate(org.kie.workbench.common.stunner.bpmn.definition.property.general.SLADueDate) Test(org.junit.Test)

Aggregations

SLADueDate (org.kie.workbench.common.stunner.bpmn.definition.property.general.SLADueDate)64 Test (org.junit.Test)31 AdvancedData (org.kie.workbench.common.stunner.bpmn.definition.property.variables.AdvancedData)28 Documentation (org.kie.workbench.common.stunner.bpmn.definition.property.general.Documentation)26 Name (org.kie.workbench.common.stunner.bpmn.definition.property.general.Name)26 BPMNGeneralSet (org.kie.workbench.common.stunner.bpmn.definition.property.general.BPMNGeneralSet)23 View (org.kie.workbench.common.stunner.core.graph.content.view.View)22 Edge (org.kie.workbench.common.stunner.core.graph.Edge)21 DataIOSet (org.kie.workbench.common.stunner.bpmn.definition.property.dataio.DataIOSet)19 CancelActivity (org.kie.workbench.common.stunner.bpmn.definition.property.event.CancelActivity)18 IsAsync (org.kie.workbench.common.stunner.bpmn.definition.property.task.IsAsync)18 CatchEventPropertyReader (org.kie.workbench.common.stunner.bpmn.backend.converters.tostunner.properties.CatchEventPropertyReader)15 IsInterrupting (org.kie.workbench.common.stunner.bpmn.definition.property.event.IsInterrupting)15 OnEntryAction (org.kie.workbench.common.stunner.bpmn.definition.property.task.OnEntryAction)14 OnExitAction (org.kie.workbench.common.stunner.bpmn.definition.property.task.OnExitAction)14 AdHocAutostart (org.kie.workbench.common.stunner.bpmn.definition.property.task.AdHocAutostart)12 AssignmentsInfo (org.kie.workbench.common.stunner.bpmn.definition.property.dataio.AssignmentsInfo)11 IsMultipleInstance (org.kie.workbench.common.stunner.bpmn.definition.property.task.IsMultipleInstance)10 ScriptTypeValue (org.kie.workbench.common.stunner.bpmn.definition.property.task.ScriptTypeValue)10 MultipleInstanceCollectionInput (org.kie.workbench.common.stunner.bpmn.definition.property.task.MultipleInstanceCollectionInput)9