Package betsy.bpmn.engines

Examples of betsy.bpmn.engines.BPMNTester


        //generate pom
        generatePom(pomDir);
        generateProcessesXml(classesDir);

        // dirty hack - as this has to be done once for the whole system
        new BPMNTester().setupPathToToolsJarForJavacAntTask();

        NetworkTasks.downloadFileFromBetsyRepo("javaee-api-7.0.jar");
        NetworkTasks.downloadFileFromBetsyRepo("camunda-engine-7.0.0-Final.jar");

        // generate and compile sources
View Full Code Here


    }

    @Override
    public void testProcess(BPMNProcess process) {
        for (BPMNTestCase testCase : process.getTestCases()) {
            BPMNTester bpmnTester = new BPMNTester();
            bpmnTester.setSource(process.getTargetTestSrcPathWithCase(testCase.getNumber()));
            bpmnTester.setTarget(process.getTargetTestBinPathWithCase(testCase.getNumber()));
            bpmnTester.setReportPath(process.getTargetReportsPathWithCase(testCase.getNumber()));

            CamundaTester tester = new CamundaTester();
            tester.setTestCase(testCase);
            tester.setRestURL(getEndpointUrl(process));
            tester.setBpmnTester(bpmnTester);
View Full Code Here

public class ActivitiEngine extends AbstractBPMNEngine {
    @Override
    public void testProcess(BPMNProcess process) {
        for (BPMNTestCase testCase : process.getTestCases()) {
            BPMNTester bpmnTester = new BPMNTester();
            bpmnTester.setSource(process.getTargetTestSrcPathWithCase(testCase.getNumber()));
            bpmnTester.setTarget(process.getTargetTestBinPathWithCase(testCase.getNumber()));
            bpmnTester.setReportPath(process.getTargetReportsPathWithCase(testCase.getNumber()));

            ActivitiTester tester = new ActivitiTester();
            tester.setTestCase(testCase);
            tester.setRestURL(URL);
            tester.setBpmnTester(bpmnTester);
View Full Code Here

        return URLTasks.isUrlAvailable(getJbpmnUrl());
    }

    public void testProcess(final BPMNProcess process) {
        for (BPMNTestCase testCase : process.getTestCases()) {
            BPMNTester bpmnTester = new BPMNTester();
            bpmnTester.setSource(process.getTargetTestSrcPathWithCase(testCase.getNumber()));
            bpmnTester.setTarget(process.getTargetTestBinPathWithCase(testCase.getNumber()));
            bpmnTester.setReportPath(process.getTargetReportsPathWithCase(testCase.getNumber()));

            JbpmTester tester = new JbpmTester();
            tester.setTestCase(testCase);
            tester.setName(process.getName());
            tester.setDeploymentId(process.getGroupId() + ":" + process.getName() + ":" + process.getVersion());
View Full Code Here

TOP

Related Classes of betsy.bpmn.engines.BPMNTester

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.