cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1368168 - /cxf/branches/2.5.x-fixes/rt/core/src/test/java/org/apache/cxf/interceptor/DocLiteralInInterceptorTest.java
Date Wed, 01 Aug 2012 18:28:20 GMT
Author: dkulp
Date: Wed Aug  1 18:28:20 2012
New Revision: 1368168

URL: http://svn.apache.org/viewvc?rev=1368168&view=rev
Log:
Merged revisions 1368114 via  git cherry-pick from
https://svn.apache.org/repos/asf/cxf/branches/2.6.x-fixes

........
  r1368114 | dkulp | 2012-08-01 12:42:38 -0400 (Wed, 01 Aug 2012) | 10 lines

  Merged revisions 1368103 via  git cherry-pick from
  https://svn.apache.org/repos/asf/cxf/trunk

  ........
    r1368103 | dkulp | 2012-08-01 12:24:24 -0400 (Wed, 01 Aug 2012) | 2 lines

    Make sure the test case wires the message parts into the messageinfo

  ........

........

Modified:
    cxf/branches/2.5.x-fixes/rt/core/src/test/java/org/apache/cxf/interceptor/DocLiteralInInterceptorTest.java

Modified: cxf/branches/2.5.x-fixes/rt/core/src/test/java/org/apache/cxf/interceptor/DocLiteralInInterceptorTest.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.5.x-fixes/rt/core/src/test/java/org/apache/cxf/interceptor/DocLiteralInInterceptorTest.java?rev=1368168&r1=1368167&r2=1368168&view=diff
==============================================================================
--- cxf/branches/2.5.x-fixes/rt/core/src/test/java/org/apache/cxf/interceptor/DocLiteralInInterceptorTest.java
(original)
+++ cxf/branches/2.5.x-fixes/rt/core/src/test/java/org/apache/cxf/interceptor/DocLiteralInInterceptorTest.java
Wed Aug  1 18:28:20 2012
@@ -103,12 +103,18 @@ public class DocLiteralInInterceptorTest
         exchange.put(Endpoint.class, endpoint);
         
         OperationInfo operationInfo = new OperationInfo();
+        operationInfo.setProperty("operation.is.synthetic", Boolean.TRUE);
         MessageInfo messageInfo = new MessageInfo(operationInfo, Type.INPUT, 
                                                   new QName("http://foo.com", "bar"));
         messageInfo.addMessagePart(new MessagePartInfo(new QName("http://foo.com", "partInfo1"),
null));
         messageInfo.addMessagePart(new MessagePartInfo(new QName("http://foo.com", "partInfo2"),
null));
         messageInfo.addMessagePart(new MessagePartInfo(new QName("http://foo.com", "partInfo3"),
null));
         messageInfo.addMessagePart(new MessagePartInfo(new QName("http://foo.com", "partInfo4"),
null));
+        
+        for (MessagePartInfo mpi : messageInfo.getMessageParts()) {
+            mpi.setMessageContainer(messageInfo);
+        }
+        
         operationInfo.setInput("inputName", messageInfo);
         
         BindingOperationInfo boi = new BindingOperationInfo(null, operationInfo);



Mime
View raw message