You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by di...@apache.org on 2006/12/20 04:06:04 UTC
svn commit: r488898 - in /webservices/axis2/trunk/java/modules:
jaxws/test/org/apache/axis2/jaxws/description/
jaxws/test/org/apache/axis2/jaxws/framework/ metadata/test-resources/wsdl/
metadata/test/org/apache/axis2/jaxws/description/
Author: dims
Date: Tue Dec 19 19:06:03 2006
New Revision: 488898
URL: http://svn.apache.org/viewvc?view=rev&rev=488898
Log:
move a couple more tests
Added:
webservices/axis2/trunk/java/modules/metadata/test-resources/wsdl/PartialWSDL1.wsdl
- copied unchanged from r488498, webservices/axis2/trunk/java/modules/jaxws/test-resources/wsdl/PartialWSDL1.wsdl
webservices/axis2/trunk/java/modules/metadata/test-resources/wsdl/PartialWSDL1_schema.xsd
- copied unchanged from r488498, webservices/axis2/trunk/java/modules/jaxws/test-resources/wsdl/PartialWSDL1_schema.xsd
webservices/axis2/trunk/java/modules/metadata/test-resources/wsdl/PartialWSDL2.wsdl
- copied unchanged from r488498, webservices/axis2/trunk/java/modules/jaxws/test-resources/wsdl/PartialWSDL2.wsdl
webservices/axis2/trunk/java/modules/metadata/test/org/apache/axis2/jaxws/description/DescriptionTestUtils.java
- copied, changed from r488892, webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/description/DescriptionTestUtils.java
webservices/axis2/trunk/java/modules/metadata/test/org/apache/axis2/jaxws/description/PartialWSDLTests.java
- copied unchanged from r488498, webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/description/PartialWSDLTests.java
Removed:
webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/description/PartialWSDLTests.java
Modified:
webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/description/AnnotationDescriptionTests.java
webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/description/ServiceTests.java
webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/description/WSDLDescriptionTests.java
webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/description/WSDLTests.java
webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/framework/JAXWSTest.java
Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/description/AnnotationDescriptionTests.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/description/AnnotationDescriptionTests.java?view=diff&rev=488898&r1=488897&r2=488898
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/description/AnnotationDescriptionTests.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/description/AnnotationDescriptionTests.java Tue Dec 19 19:06:03 2006
@@ -18,9 +18,7 @@
package org.apache.axis2.jaxws.description;
-import java.lang.reflect.Field;
import java.lang.reflect.Method;
-import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.Service;
Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/description/ServiceTests.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/description/ServiceTests.java?view=diff&rev=488898&r1=488897&r2=488898
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/description/ServiceTests.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/description/ServiceTests.java Tue Dec 19 19:06:03 2006
@@ -22,7 +22,6 @@
import java.net.URL;
import java.util.Iterator;
import java.util.List;
-import java.util.Map;
import javax.xml.namespace.QName;
import javax.xml.ws.Dispatch;
Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/description/WSDLDescriptionTests.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/description/WSDLDescriptionTests.java?view=diff&rev=488898&r1=488897&r2=488898
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/description/WSDLDescriptionTests.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/description/WSDLDescriptionTests.java Tue Dec 19 19:06:03 2006
@@ -18,7 +18,6 @@
package org.apache.axis2.jaxws.description;
-import java.lang.reflect.Field;
import java.net.URL;
import javax.jws.WebMethod;
Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/description/WSDLTests.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/description/WSDLTests.java?view=diff&rev=488898&r1=488897&r2=488898
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/description/WSDLTests.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/description/WSDLTests.java Tue Dec 19 19:06:03 2006
@@ -18,14 +18,12 @@
package org.apache.axis2.jaxws.description;
-import java.lang.reflect.Field;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.Service;
import javax.xml.ws.WebServiceException;
-import org.apache.axis2.description.AxisService;
import org.apache.axis2.jaxws.spi.ServiceDelegate;
import junit.framework.TestCase;
Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/framework/JAXWSTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/framework/JAXWSTest.java?view=diff&rev=488898&r1=488897&r2=488898
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/framework/JAXWSTest.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/framework/JAXWSTest.java Tue Dec 19 19:06:03 2006
@@ -29,7 +29,6 @@
import org.apache.axis2.jaxws.databinding.BindingToProtocolTests;
import org.apache.axis2.jaxws.description.AnnotationDescriptionTests;
import org.apache.axis2.jaxws.description.GetDescFromBindingProvider;
-import org.apache.axis2.jaxws.description.PartialWSDLTests;
import org.apache.axis2.jaxws.description.PortSelectionTests;
import org.apache.axis2.jaxws.description.ServiceAnnotationTests;
import org.apache.axis2.jaxws.description.ServiceTests;
@@ -109,7 +108,6 @@
suite.addTestSuite(WSDLTests.class);
suite.addTestSuite(WSDLDescriptionTests.class);
suite.addTestSuite(AnnotationDescriptionTests.class);
- suite.addTestSuite(PartialWSDLTests.class);
suite.addTestSuite(ValidateWSDLTests.class);
suite.addTestSuite(GetDescFromBindingProvider.class);
suite.addTestSuite(WrapperPackageTests.class);
Copied: webservices/axis2/trunk/java/modules/metadata/test/org/apache/axis2/jaxws/description/DescriptionTestUtils.java (from r488892, webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/description/DescriptionTestUtils.java)
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/metadata/test/org/apache/axis2/jaxws/description/DescriptionTestUtils.java?view=diff&rev=488898&p1=webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/description/DescriptionTestUtils.java&r1=488892&p2=webservices/axis2/trunk/java/modules/metadata/test/org/apache/axis2/jaxws/description/DescriptionTestUtils.java&r2=488898
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/description/DescriptionTestUtils.java (original)
+++ webservices/axis2/trunk/java/modules/metadata/test/org/apache/axis2/jaxws/description/DescriptionTestUtils.java Tue Dec 19 19:06:03 2006
@@ -26,8 +26,6 @@
import javax.wsdl.xml.WSDLReader;
import javax.xml.ws.Service;
-import org.apache.axis2.jaxws.spi.ServiceDelegate;
-
/**
*
*/
@@ -70,25 +68,4 @@
return wsdlDefinition;
}
-
- static public ServiceDelegate getServiceDelegate(Service service) {
- // Need to get to the private Service._delegate field in order to get to the ServiceDescription to test
- ServiceDelegate returnServiceDelegate = null;
- try {
- Field serviceDelgateField = service.getClass().getDeclaredField("_delegate");
- serviceDelgateField.setAccessible(true);
- returnServiceDelegate = (ServiceDelegate) serviceDelgateField.get(service);
- } catch (SecurityException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- } catch (NoSuchFieldException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- } catch (IllegalAccessException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
- return returnServiceDelegate;
- }
-
}
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org