use of org.activiti.bpmn.model.BpmnModel in project Activiti by Activiti.
the class UserTaskConverterTest method connvertXMLToModel.
@Test
public void connvertXMLToModel() throws Exception {
BpmnModel bpmnModel = readXMLFile();
validateModel(bpmnModel);
}
use of org.activiti.bpmn.model.BpmnModel in project Activiti by Activiti.
the class MapExceptionConverterTest method testMapExceptionWithInvalidHasChildren.
@Test
public void testMapExceptionWithInvalidHasChildren() throws Exception {
resourceName = "mapException/mapExceptionInvalidHasChildrenModel.bpmn";
try {
BpmnModel bpmnModel = readXMLFile();
fail("No exception is thrown for mapExecution with invalid boolean for hasChildren");
} catch (XMLException x) {
assertTrue(x.getMessage().indexOf("is not valid boolean") != -1);
} catch (Exception e) {
fail("wrong exception thrown. XmlException expected, " + e.getClass() + " thrown");
}
}
use of org.activiti.bpmn.model.BpmnModel in project Activiti by Activiti.
the class MapExceptionConverterTest method connvertXMLToModel.
@Test
public void connvertXMLToModel() throws Exception {
resourceName = "mapException/mapExceptionModel.bpmn";
BpmnModel bpmnModel = readXMLFile();
validateModel(bpmnModel);
}
use of org.activiti.bpmn.model.BpmnModel in project Activiti by Activiti.
the class MessageConverterTest method connvertXMLToModel.
@Test
public void connvertXMLToModel() throws Exception {
BpmnModel bpmnModel = readXMLFile();
validateModel(bpmnModel);
}
use of org.activiti.bpmn.model.BpmnModel in project Activiti by Activiti.
the class MessageFlowConverterTest method connvertXMLToModel.
@Test
public void connvertXMLToModel() throws Exception {
BpmnModel bpmnModel = readXMLFile();
validateModel(bpmnModel);
}
Aggregations