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 2008/06/04 17:13:23 UTC
svn commit: r663170 -
/cxf/branches/2.0.x-fixes/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/WSS4JInOutTest.java
Author: dkulp
Date: Wed Jun 4 08:13:23 2008
New Revision: 663170
URL: http://svn.apache.org/viewvc?rev=663170&view=rev
Log:
Make test compile/pass on 2.0.x branch
Modified:
cxf/branches/2.0.x-fixes/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/WSS4JInOutTest.java
Modified: cxf/branches/2.0.x-fixes/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/WSS4JInOutTest.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.0.x-fixes/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/WSS4JInOutTest.java?rev=663170&r1=663169&r2=663170&view=diff
==============================================================================
--- cxf/branches/2.0.x-fixes/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/WSS4JInOutTest.java (original)
+++ cxf/branches/2.0.x-fixes/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/WSS4JInOutTest.java Wed Jun 4 08:13:23 2008
@@ -215,8 +215,7 @@
public void testEncryption() throws Exception {
Document doc = readDocument("wsse-request-clean.xml");
- WSS4JOutInterceptor ohandler = new WSS4JOutInterceptor();
- PhaseInterceptor<SoapMessage> handler = ohandler.createEndingInterceptor();
+ WSS4JOutInterceptor handler = new WSS4JOutInterceptor();
SoapMessage msg = new SoapMessage(new MessageImpl());
Exchange ex = new ExchangeImpl();
@@ -311,8 +310,7 @@
public void testCustomProcessor() throws Exception {
Document doc = readDocument("wsse-request-clean.xml");
- WSS4JOutInterceptor ohandler = new WSS4JOutInterceptor();
- PhaseInterceptor<SoapMessage> handler = ohandler.createEndingInterceptor();
+ WSS4JOutInterceptor handler = new WSS4JOutInterceptor();
SoapMessage msg = new SoapMessage(new MessageImpl());
Exchange ex = new ExchangeImpl();