cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1407504 - /cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/JAXWSMethodInvokerTest.java
Date Fri, 09 Nov 2012 15:52:12 GMT
Author: dkulp
Date: Fri Nov  9 15:52:11 2012
New Revision: 1407504

URL: http://svn.apache.org/viewvc?rev=1407504&view=rev
Log:
Fix unit test

Modified:
    cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/JAXWSMethodInvokerTest.java

Modified: cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/JAXWSMethodInvokerTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/JAXWSMethodInvokerTest.java?rev=1407504&r1=1407503&r2=1407504&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/JAXWSMethodInvokerTest.java
(original)
+++ cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/JAXWSMethodInvokerTest.java
Fri Nov  9 15:52:11 2012
@@ -20,6 +20,7 @@ package org.apache.cxf.jaxws;
 
 
 import java.lang.reflect.Method;
+import java.util.TreeSet;
 
 import javax.xml.transform.Source;
 import javax.xml.transform.stream.StreamSource;
@@ -32,6 +33,8 @@ import org.apache.cxf.message.ExchangeIm
 import org.apache.cxf.message.Message;
 import org.apache.cxf.message.MessageContentsList;
 import org.apache.cxf.message.MessageImpl;
+import org.apache.cxf.phase.Phase;
+import org.apache.cxf.phase.PhaseInterceptorChain;
 import org.apache.cxf.service.Service;
 import org.apache.cxf.service.invoker.Factory;
 import org.apache.cxf.service.invoker.MethodDispatcher;
@@ -88,6 +91,7 @@ public class JAXWSMethodInvokerTest exte
         
         Exchange ex = new ExchangeImpl();
         Message inMessage = new MessageImpl();
+        inMessage.setInterceptorChain(new PhaseInterceptorChain(new TreeSet<Phase>()));
         ex.setInMessage(inMessage);
         inMessage.setExchange(ex);
         inMessage.put(Message.REQUESTOR_ROLE, Boolean.TRUE);



Mime
View raw message