Search in sources :

Example 6 with MessageRecorder

use of org.apache.cxf.testutil.recorders.MessageRecorder in project cxf by apache.

the class ProtocolVariationsTest method awaitMessages.

private void awaitMessages(int nExpectedOut, int nExpectedIn, int timeout) {
    MessageRecorder mr = new MessageRecorder(outRecorder, inRecorder);
    mr.awaitMessages(nExpectedOut, nExpectedIn, timeout);
}
Also used : MessageRecorder(org.apache.cxf.testutil.recorders.MessageRecorder) InMessageRecorder(org.apache.cxf.testutil.recorders.InMessageRecorder) OutMessageRecorder(org.apache.cxf.testutil.recorders.OutMessageRecorder)

Example 7 with MessageRecorder

use of org.apache.cxf.testutil.recorders.MessageRecorder in project cxf by apache.

the class SequenceTest method awaitMessages.

private void awaitMessages(int nExpectedOut, int nExpectedIn, int timeout) {
    MessageRecorder mr = new MessageRecorder(outRecorder, inRecorder);
    mr.awaitMessages(nExpectedOut, nExpectedIn, timeout);
}
Also used : InMessageRecorder(org.apache.cxf.testutil.recorders.InMessageRecorder) MessageRecorder(org.apache.cxf.testutil.recorders.MessageRecorder) OutMessageRecorder(org.apache.cxf.testutil.recorders.OutMessageRecorder)

Aggregations

MessageRecorder (org.apache.cxf.testutil.recorders.MessageRecorder)7 InMessageRecorder (org.apache.cxf.testutil.recorders.InMessageRecorder)5 OutMessageRecorder (org.apache.cxf.testutil.recorders.OutMessageRecorder)5 Closeable (java.io.Closeable)3 Greeter (org.apache.cxf.greeter_control.Greeter)3 PingMeFault (org.apache.cxf.greeter_control.PingMeFault)3 MessageFlow (org.apache.cxf.systest.ws.util.MessageFlow)3 Test (org.junit.Test)3 SpringBusFactory (org.apache.cxf.bus.spring.SpringBusFactory)1 BasicGreeterService (org.apache.cxf.greeter_control.BasicGreeterService)1 Reliable12GreeterService (org.apache.cxf.greeter_control.Reliable12GreeterService)1 ReliableGreeterService (org.apache.cxf.greeter_control.ReliableGreeterService)1