Examples of XpathTestAssertion


Examples of betsy.bpel.model.assertions.XpathTestAssertion

    public boolean isOneWay() {
        return WsdlOperation.ASYNC.equals(operation);
    }

    public void setOutput(String output) {
        XpathTestAssertion assertion = new XpathTestAssertion();
        assertion.setExpectedOutput(output);
        assertion.setXpathExpression("declare namespace test='http://dsg.wiai.uniba.de/betsy/activities/wsdl/testinterface';number(//test:testElementSyncResponse) cast as xs:integer");
        assertion.setOutput(output);
        getAssertions().add(assertion);
    }
View Full Code Here

Examples of betsy.bpel.model.assertions.XpathTestAssertion

        assertion.setOutput(output);
        getAssertions().add(assertion);
    }

    public void setPartnerOutput(String output) {
        XpathTestAssertion assertion = new XpathTestAssertion();
        assertion.setExpectedOutput(output);
        assertion.setXpathExpression("declare namespace test='http://dsg.wiai.uniba.de/betsy/activities/wsdl/testpartner';number(//test:testElementSyncResponse) cast as xs:integer");
        assertion.setOutput(output);
        getAssertions().add(assertion);
    }
View Full Code Here

Examples of betsy.bpel.model.assertions.XpathTestAssertion

        assertion.setOutput(output);
        getAssertions().add(assertion);
    }

    public void setStringOperationOutput(String output) {
        XpathTestAssertion assertion = new XpathTestAssertion();
        assertion.setExpectedOutput(output);
        assertion.setXpathExpression("declare namespace test='http://dsg.wiai.uniba.de/betsy/activities/wsdl/testinterface';//test:testElementSyncStringResponse");
        assertion.setOutput(output);
        getAssertions().add(assertion);
    }
View Full Code Here

Examples of betsy.bpel.model.assertions.XpathTestAssertion

        assertion.setOutput(output);
        getAssertions().add(assertion);
    }

    public void setOutputAsLeast(final String output) {
        XpathTestAssertion assertion = new XpathTestAssertion();
        assertion.setExpectedOutput("true");
        assertion.setXpathExpression("declare namespace test=\'http://dsg.wiai.uniba.de/betsy/activities/wsdl/testinterface\';//test:testElementSyncResponse >= " + output);
        assertion.setOutput(output);
        getAssertions().add(assertion);
    }
View Full Code Here

Examples of betsy.bpel.model.assertions.XpathTestAssertion

        return concurrencyTest;
    }

    public void setConcurrencyTest(boolean concurrencyTest) {
        if (concurrencyTest) {
            XpathTestAssertion assertion = new XpathTestAssertion();
            assertion.setExpectedOutput("true");
            assertion.setXpathExpression("declare namespace test='http://dsg.wiai.uniba.de/betsy/activities/wsdl/testpartner';//test:testElementSyncResponse > 0");
            getAssertions().add(assertion);
        }

        this.concurrencyTest = concurrencyTest;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.