cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bimargul...@apache.org
Subject svn commit: r601603 - /incubator/cxf/trunk/rt/javascript/src/test/java/org/apache/cxf/javascript/DocLitBareClientTest.java
Date Thu, 06 Dec 2007 03:34:52 GMT
Author: bimargulies
Date: Wed Dec  5 19:34:49 2007
New Revision: 601603

URL: http://svn.apache.org/viewvc?rev=601603&view=rev
Log:
enable schema validation.

Modified:
    incubator/cxf/trunk/rt/javascript/src/test/java/org/apache/cxf/javascript/DocLitBareClientTest.java

Modified: incubator/cxf/trunk/rt/javascript/src/test/java/org/apache/cxf/javascript/DocLitBareClientTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/javascript/src/test/java/org/apache/cxf/javascript/DocLitBareClientTest.java?rev=601603&r1=601602&r2=601603&view=diff
==============================================================================
--- incubator/cxf/trunk/rt/javascript/src/test/java/org/apache/cxf/javascript/DocLitBareClientTest.java
(original)
+++ incubator/cxf/trunk/rt/javascript/src/test/java/org/apache/cxf/javascript/DocLitBareClientTest.java
Wed Dec  5 19:34:49 2007
@@ -32,6 +32,7 @@
 import org.apache.cxf.javascript.fortest.TestBean2;
 import org.apache.cxf.jaxws.EndpointImpl;
 import org.apache.cxf.jaxws.JaxWsProxyFactoryBean;
+import org.apache.cxf.message.Message;
 import org.apache.cxf.service.model.ServiceInfo;
 import org.apache.cxf.test.AbstractCXFSpringTest;
 import org.junit.Before;
@@ -77,6 +78,7 @@
         testUtilities.loadJavascriptForService(serviceInfo);
         testUtilities.readResourceIntoRhino("/org/apache/cxf/javascript/DocLitBareTests.js");
         endpoint = getBean(EndpointImpl.class, "dlb-service-endpoint");
+        endpoint.getService().put(Message.SCHEMA_VALIDATION_ENABLED, Boolean.TRUE);
         implementor = (SimpleDocLitBareImpl)endpoint.getImplementor();
         implementor.resetLastValues();
     }



Mime
View raw message