You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2014/03/20 20:51:02 UTC
git commit: Fix merge issue
Repository: cxf
Updated Branches:
refs/heads/master 712c509a6 -> bafb95358
Fix merge issue
Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/bafb9535
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/bafb9535
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/bafb9535
Branch: refs/heads/master
Commit: bafb95358cf7422108be1e92020b0b6606c29880
Parents: 712c509
Author: Daniel Kulp <dk...@apache.org>
Authored: Thu Mar 20 15:50:48 2014 -0400
Committer: Daniel Kulp <dk...@apache.org>
Committed: Thu Mar 20 15:50:48 2014 -0400
----------------------------------------------------------------------
.../interceptor/InterceptorFaultTest.java | 30 --------------------
1 file changed, 30 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cxf/blob/bafb9535/systests/uncategorized/src/test/java/org/apache/cxf/systest/interceptor/InterceptorFaultTest.java
----------------------------------------------------------------------
diff --git a/systests/uncategorized/src/test/java/org/apache/cxf/systest/interceptor/InterceptorFaultTest.java b/systests/uncategorized/src/test/java/org/apache/cxf/systest/interceptor/InterceptorFaultTest.java
index 5db3a1c..271bde4 100644
--- a/systests/uncategorized/src/test/java/org/apache/cxf/systest/interceptor/InterceptorFaultTest.java
+++ b/systests/uncategorized/src/test/java/org/apache/cxf/systest/interceptor/InterceptorFaultTest.java
@@ -209,36 +209,6 @@ public class InterceptorFaultTest extends AbstractBusClientServerTestBase {
}
}
- @Test
- public void testRobustFailWithoutAddressingInUserLogicalPhase() throws Exception {
-
- setupGreeter("org/apache/cxf/systest/interceptor/no-addr.xml", false);
-
- control.setRobustInOnlyMode(true);
-
- // behaviour is identicial for all phases
- FaultLocation location = new org.apache.cxf.greeter_control.types.ObjectFactory()
- .createFaultLocation();
- location.setPhase("user-logical");
-
- control.setFaultLocation(location);
-
- try {
- // writer to grab the content of soap fault.
- // robust is not yet used at client's side, but I think it should
- StringWriter writer = new StringWriter();
- ((Client)greeter).getInInterceptors().add(new LoggingInInterceptor());
- ((LoggingInInterceptor)greeterBus.getInInterceptors().get(0)).setPrintWriter(new PrintWriter(writer));
- // it should tell CXF to convert one-way robust out faults into real SoapFaultException
- ((Client)greeter).getEndpoint().put(Message.ROBUST_ONEWAY, true);
- greeter.greetMeOneWay("oneway");
- fail("Oneway operation unexpectedly succeded for phase " + location.getPhase());
- } catch (WebServiceException ex) {
- // actually it should be instance of javax.xml.ws.soap.SOAPFaultException
- assertEquals(FAULT_MESSAGE, ex.getMessage());
- }
- }
-
private void testWithoutAddressing(boolean robust) throws Exception {
setupGreeter("org/apache/cxf/systest/interceptor/no-addr.xml", false);