use of org.apache.cxf.testsuite.testcase.TestCaseType in project cxf by apache.
the class SOAPJMSTestSuiteTest method test0006.
@Test
public void test0006() throws Exception {
TestCaseType testcase = JMSTestUtil.getTestCase("test0006");
final JMSSimplePortType simplePort = getPort("JMSSimpleService0006", "SimplePort", JMSSimpleService0006.class, JMSSimplePortType.class);
twoWayTest(testcase, simplePort);
}
use of org.apache.cxf.testsuite.testcase.TestCaseType in project cxf by apache.
the class SOAPJMSTestSuiteTest method test0012.
@Test
public void test0012() throws Exception {
// same to test0002
TestCaseType testcase = JMSTestUtil.getTestCase("test0012");
final JMSSimplePortType simplePort = getPort("JMSSimpleService0012", "SimplePort", JMSSimpleService0012.class, JMSSimplePortType.class);
twoWayTest(testcase, simplePort);
}
use of org.apache.cxf.testsuite.testcase.TestCaseType in project cxf by apache.
the class SOAPJMSTestSuiteTest method test1105.
@Test
public void test1105() throws Exception {
TestCaseType testcase = JMSTestUtil.getTestCase("test1105");
final JMSSimplePortType simplePort = getPort("JMSSimpleService1105", "SimplePort", JMSSimpleService1105.class, JMSSimplePortType.class);
JMSMessageHeadersType requestHeader = new JMSMessageHeadersType();
requestHeader.setSOAPJMSSOAPAction("mismatch");
try {
twoWayTestWithRequestHeader(testcase, simplePort, requestHeader);
} catch (Exception e) {
assertTrue(e.getMessage().contains("Mismatched SoapAction"));
}
}
use of org.apache.cxf.testsuite.testcase.TestCaseType in project cxf by apache.
the class SOAPJMSTestSuiteTest method test1103.
@Test
public void test1103() throws Exception {
TestCaseType testcase = JMSTestUtil.getTestCase("test1103");
twoWayTestWithCreateMessage(testcase);
}
use of org.apache.cxf.testsuite.testcase.TestCaseType in project cxf by apache.
the class SOAPJMSTestSuiteTest method test1109.
@Test
public void test1109() throws Exception {
TestCaseType testcase = JMSTestUtil.getTestCase("test1109");
final JMSSimplePortType simplePort = getPort("JMSSimpleService1109", "SimplePort", JMSSimpleService1109.class, JMSSimplePortType.class);
JMSMessageHeadersType requestHeader = new JMSMessageHeadersType();
try {
twoWayTestWithRequestHeader(testcase, simplePort, requestHeader);
} catch (Exception e) {
assertTrue(e.getMessage().contains("Unknow JMS Variant"));
}
}
Aggregations