cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bimargul...@apache.org
Subject svn commit: r591156 - /incubator/cxf/trunk/rt/javascript/src/test/java/org/apache/cxf/javascript/types/SerializationTest.java
Date Thu, 01 Nov 2007 22:28:52 GMT
Author: bimargulies
Date: Thu Nov  1 15:28:51 2007
New Revision: 591156

URL: http://svn.apache.org/viewvc?rev=591156&view=rev
Log:
Add test case relevant to CXF-1150.

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

Modified: incubator/cxf/trunk/rt/javascript/src/test/java/org/apache/cxf/javascript/types/SerializationTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/javascript/src/test/java/org/apache/cxf/javascript/types/SerializationTest.java?rev=591156&r1=591155&r2=591156&view=diff
==============================================================================
--- incubator/cxf/trunk/rt/javascript/src/test/java/org/apache/cxf/javascript/types/SerializationTest.java
(original)
+++ incubator/cxf/trunk/rt/javascript/src/test/java/org/apache/cxf/javascript/types/SerializationTest.java
Thu Nov  1 15:28:51 2007
@@ -45,6 +45,7 @@
 import org.apache.cxf.jaxws.JaxWsProxyFactoryBean;
 import org.apache.cxf.service.model.SchemaInfo;
 import org.apache.cxf.service.model.ServiceInfo;
+import org.apache.cxf.wsdl.EndpointReferenceUtils;
 import org.junit.Assert;
 import org.junit.Test;
 import org.mozilla.javascript.RhinoException;
@@ -70,6 +71,13 @@
     @Override
     protected String[] getConfigLocations() {
         return new String[] {"classpath:serializationTestBeans.xml"};
+    }
+    
+    @Test 
+    public void testEndpointGetSchema() throws IOException {
+        setupClientAndRhino("simple-dlwu-proxy-factory");
+        ServiceInfo serviceInfo = serviceInfos.get(0);
+        EndpointReferenceUtils.getSchema(serviceInfo);
     }
     
     @Test 



Mime
View raw message