You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ve...@apache.org on 2005/08/11 13:27:57 UTC
svn commit: r231423 - in
/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc:
./ client/ description/ factory/ handler/ handler/soap/ server/ soap/ utils/
Author: venkat
Date: Thu Aug 11 04:27:00 2005
New Revision: 231423
URL: http://svn.apache.org/viewcvs?rev=231423&view=rev
Log:
generated JUnit test cases. Need to refine.
Added:
webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/BindingImplTest.java
webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/BindingProviderImplTest.java
webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/CallImplTest.java
webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/DispatchImplTest.java
webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/JAXRPCContextImplTest.java
webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/JAXRPCRequestContextTest.java
webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/JAXRPCResponseContextTest.java
webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/ServiceFactoryImplTest.java
webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/ServiceImplTest.java
webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/description/
webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/description/ParameterDescTest.java
webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/factory/
webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/factory/WSDLFactoryImplTest.java
webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/handler/Axis2HandlerTest.java
webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/handler/Copy of Axis2HandlerTest.j
webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/handler/HandlerChainImplTest.java
webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/handler/MessageContextImplTest.java
webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/handler/soap/SOAPMessageContextImplTest.java
webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/replace.xml
webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/server/JAXRPCInOutMessageReceiverTest.java
webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/server/JAXRPCServletTest.java
webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/server/ServletEndpointContextImplTest.java
webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/soap/
webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/soap/SOAPBindingImplTest.java
webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/utils/
webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/utils/ClassUtilsTest.java
webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/utils/StringUtilsTest.java
Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/BindingImplTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/BindingImplTest.java?rev=231423&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/BindingImplTest.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/BindingImplTest.java Thu Aug 11 04:27:00 2005
@@ -0,0 +1,43 @@
+package org.apache.axis.jaxrpc.client;
+
+import junit.framework.TestCase;
+import org.apache.axis.jaxrpc.client.BindingImpl;
+
+public class BindingImplTest extends TestCase
+{
+ org.apache.axis.jaxrpc.client.BindingImpl bindingimpl = null;
+
+ public BindingImplTest(String name) {
+ super(name);
+ }
+
+ public org.apache.axis.jaxrpc.client.BindingImpl createInstance() throws Exception {
+ return new org.apache.axis.jaxrpc.client.BindingImpl();
+ }
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ bindingimpl = createInstance();
+ }
+
+ protected void tearDown() throws Exception {
+ bindingimpl = null;
+ super.tearDown();
+ }
+
+ public void testSetGetHandlerChain() throws Exception {
+ java.util.List[] tests = {new java.util.List(), null};
+
+ for (int i = 0; i < tests.length; i++) {
+ bindingimpl.setHandlerChain(tests[i]);
+ assertEquals(tests[i], bindingimpl.getHandlerChain());
+ }
+ }
+
+ public void testGetSecurityConfiguration() throws Exception {
+ }
+
+ public static void main(String[] args) {
+ junit.textui.TestRunner.run(BindingImplTest.class);
+ }
+}
Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/BindingProviderImplTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/BindingProviderImplTest.java?rev=231423&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/BindingProviderImplTest.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/BindingProviderImplTest.java Thu Aug 11 04:27:00 2005
@@ -0,0 +1,58 @@
+package org.apache.axis.jaxrpc.client;
+
+import junit.framework.TestCase;
+import org.apache.axis.jaxrpc.client.BindingProviderImpl;
+
+public class BindingProviderImplTest extends TestCase
+{
+ org.apache.axis.jaxrpc.client.BindingProviderImpl bindingproviderimpl = null;
+
+ public BindingProviderImplTest(String name) {
+ super(name);
+ }
+
+ public org.apache.axis.jaxrpc.client.BindingProviderImpl createInstance() throws Exception {
+ return new org.apache.axis.jaxrpc.client.BindingProviderImpl();
+ }
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ bindingproviderimpl = createInstance();
+ }
+
+ protected void tearDown() throws Exception {
+ bindingproviderimpl = null;
+ super.tearDown();
+ }
+
+ public void testGetRequestContext() throws Exception {
+ }
+
+ public void testGetResponseContext() throws Exception {
+ }
+
+ public void testSetGetBinding() throws Exception {
+ BindingImpl[] tests = {new BindingImpl(), null};
+
+ for (int i = 0; i < tests.length; i++) {
+ bindingproviderimpl.setBinding(tests[i]);
+ assertEquals(tests[i], bindingproviderimpl.getBinding());
+ }
+ }
+
+ public void testGetHandlerChain() throws Exception {
+ }
+
+ public void testSetGetClientHome() throws Exception {
+ String[] tests = {new String(), null};
+
+ for (int i = 0; i < tests.length; i++) {
+ bindingproviderimpl.setClientHome(tests[i]);
+ assertEquals(tests[i], bindingproviderimpl.getClientHome());
+ }
+ }
+
+ public static void main(String[] args) {
+ junit.textui.TestRunner.run(BindingProviderImplTest.class);
+ }
+}
Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/CallImplTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/CallImplTest.java?rev=231423&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/CallImplTest.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/CallImplTest.java Thu Aug 11 04:27:00 2005
@@ -0,0 +1,118 @@
+package org.apache.axis.jaxrpc.client;
+
+import junit.framework.TestCase;
+import org.apache.axis.jaxrpc.client.CallImpl;
+
+public class CallImplTest extends TestCase
+{
+ org.apache.axis.jaxrpc.client.CallImpl callimpl = null;
+
+ public CallImplTest(String name) {
+ super(name);
+ }
+
+ public org.apache.axis.jaxrpc.client.CallImpl createInstance() throws Exception {
+ return new org.apache.axis.jaxrpc.client.CallImpl();
+ }
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ callimpl = createInstance();
+ }
+
+ protected void tearDown() throws Exception {
+ callimpl = null;
+ super.tearDown();
+ }
+
+ public void testIsParameterAndReturnSpecRequired() throws Exception {
+ }
+
+ public void testAddParameter() throws Exception {
+ }
+
+ public void testGetParameterTypeByName() throws Exception {
+ }
+
+ public void testSetReturnType() throws Exception {
+ }
+
+ public void testGetJAXBObjectClassForQName() throws Exception {
+ }
+
+ public void testGetTypeMappingClassForQName() throws Exception {
+ }
+
+ public void testGetReturnType() throws Exception {
+ }
+
+ public void testRemoveAllParameters() throws Exception {
+ }
+
+ public void testSetGetOperationName() throws Exception {
+ QName[] tests = {new QName(), null};
+
+ for (int i = 0; i < tests.length; i++) {
+ callimpl.setOperationName(tests[i]);
+ assertEquals(tests[i], callimpl.getOperationName());
+ }
+ }
+
+ public void testSetGetPortTypeName() throws Exception {
+ QName[] tests = {new QName(), null};
+
+ for (int i = 0; i < tests.length; i++) {
+ callimpl.setPortTypeName(tests[i]);
+ assertEquals(tests[i], callimpl.getPortTypeName());
+ }
+ }
+
+ public void testSetGetTargetEndpointAddress() throws Exception {
+ String[] tests = {new String(), null};
+
+ for (int i = 0; i < tests.length; i++) {
+ callimpl.setTargetEndpointAddress(tests[i]);
+ assertEquals(tests[i], callimpl.getTargetEndpointAddress());
+ }
+ }
+
+ public void testSetProperty() throws Exception {
+ }
+
+ public void testGetProperty() throws Exception {
+ }
+
+ public void testRemoveProperty() throws Exception {
+ }
+
+ public void testGetPropertyNames() throws Exception {
+ }
+
+ public void testInvoke() throws Exception {
+ }
+
+ public void testGetReturnObject() throws Exception {
+ }
+
+ public void testInvokeOneWay() throws Exception {
+ }
+
+ public void testGetOutputParams() throws Exception {
+ }
+
+ public void testGetOutputValues() throws Exception {
+ }
+
+ public void testSetGetService() throws Exception {
+ ServiceImpl[] tests = {new ServiceImpl(), null};
+
+ for (int i = 0; i < tests.length; i++) {
+ callimpl.setService(tests[i]);
+ assertEquals(tests[i], callimpl.getService());
+ }
+ }
+
+ public static void main(String[] args) {
+ junit.textui.TestRunner.run(CallImplTest.class);
+ }
+}
Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/DispatchImplTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/DispatchImplTest.java?rev=231423&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/DispatchImplTest.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/DispatchImplTest.java Thu Aug 11 04:27:00 2005
@@ -0,0 +1,40 @@
+package org.apache.axis.jaxrpc.client;
+
+import junit.framework.TestCase;
+import org.apache.axis.jaxrpc.client.DispatchImpl;
+
+public class DispatchImplTest extends TestCase
+{
+ org.apache.axis.jaxrpc.client.DispatchImpl dispatchimpl = null;
+
+ public DispatchImplTest(String name) {
+ super(name);
+ }
+
+ public org.apache.axis.jaxrpc.client.DispatchImpl createInstance() throws Exception {
+ return new org.apache.axis.jaxrpc.client.DispatchImpl();
+ }
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ dispatchimpl = createInstance();
+ }
+
+ protected void tearDown() throws Exception {
+ dispatchimpl = null;
+ super.tearDown();
+ }
+
+ public void testInvoke() throws Exception {
+ }
+
+ public void testInvokeAsync() throws Exception {
+ }
+
+ public void testInvokeOneWay() throws Exception {
+ }
+
+ public static void main(String[] args) {
+ junit.textui.TestRunner.run(DispatchImplTest.class);
+ }
+}
Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/JAXRPCContextImplTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/JAXRPCContextImplTest.java?rev=231423&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/JAXRPCContextImplTest.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/JAXRPCContextImplTest.java Thu Aug 11 04:27:00 2005
@@ -0,0 +1,46 @@
+package org.apache.axis.jaxrpc.client;
+
+import junit.framework.TestCase;
+import org.apache.axis.jaxrpc.client.JAXRPCContextImpl;
+
+public class JAXRPCContextImplTest extends TestCase
+{
+ org.apache.axis.jaxrpc.client.JAXRPCContextImpl jaxrpccontextimpl = null;
+
+ public JAXRPCContextImplTest(String name) {
+ super(name);
+ }
+
+ public org.apache.axis.jaxrpc.client.JAXRPCContextImpl createInstance() throws Exception {
+ return new org.apache.axis.jaxrpc.client.JAXRPCContextImpl();
+ }
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ jaxrpccontextimpl = createInstance();
+ }
+
+ protected void tearDown() throws Exception {
+ jaxrpccontextimpl = null;
+ super.tearDown();
+ }
+
+ public void testSetProperty() throws Exception {
+ }
+
+ public void testRemoveProperty() throws Exception {
+ }
+
+ public void testGetProperty() throws Exception {
+ }
+
+ public void testGetPropertyNames() throws Exception {
+ }
+
+ public void testGetAxis2Engine() throws Exception {
+ }
+
+ public static void main(String[] args) {
+ junit.textui.TestRunner.run(JAXRPCContextImplTest.class);
+ }
+}
Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/JAXRPCRequestContextTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/JAXRPCRequestContextTest.java?rev=231423&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/JAXRPCRequestContextTest.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/JAXRPCRequestContextTest.java Thu Aug 11 04:27:00 2005
@@ -0,0 +1,31 @@
+package org.apache.axis.jaxrpc.client;
+
+import junit.framework.TestCase;
+import org.apache.axis.jaxrpc.client.JAXRPCRequestContext;
+
+public class JAXRPCRequestContextTest extends TestCase
+{
+ org.apache.axis.jaxrpc.client.JAXRPCRequestContext jaxrpcrequestcontext = null;
+
+ public JAXRPCRequestContextTest(String name) {
+ super(name);
+ }
+
+ public org.apache.axis.jaxrpc.client.JAXRPCRequestContext createInstance() throws Exception {
+ return new org.apache.axis.jaxrpc.client.JAXRPCRequestContext();
+ }
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ jaxrpcrequestcontext = createInstance();
+ }
+
+ protected void tearDown() throws Exception {
+ jaxrpcrequestcontext = null;
+ super.tearDown();
+ }
+
+ public static void main(String[] args) {
+ junit.textui.TestRunner.run(JAXRPCRequestContextTest.class);
+ }
+}
Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/JAXRPCResponseContextTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/JAXRPCResponseContextTest.java?rev=231423&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/JAXRPCResponseContextTest.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/JAXRPCResponseContextTest.java Thu Aug 11 04:27:00 2005
@@ -0,0 +1,31 @@
+package org.apache.axis.jaxrpc.client;
+
+import junit.framework.TestCase;
+import org.apache.axis.jaxrpc.client.JAXRPCResponseContext;
+
+public class JAXRPCResponseContextTest extends TestCase
+{
+ org.apache.axis.jaxrpc.client.JAXRPCResponseContext jaxrpcresponsecontext = null;
+
+ public JAXRPCResponseContextTest(String name) {
+ super(name);
+ }
+
+ public org.apache.axis.jaxrpc.client.JAXRPCResponseContext createInstance() throws Exception {
+ return new org.apache.axis.jaxrpc.client.JAXRPCResponseContext();
+ }
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ jaxrpcresponsecontext = createInstance();
+ }
+
+ protected void tearDown() throws Exception {
+ jaxrpcresponsecontext = null;
+ super.tearDown();
+ }
+
+ public static void main(String[] args) {
+ junit.textui.TestRunner.run(JAXRPCResponseContextTest.class);
+ }
+}
Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/ServiceFactoryImplTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/ServiceFactoryImplTest.java?rev=231423&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/ServiceFactoryImplTest.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/ServiceFactoryImplTest.java Thu Aug 11 04:27:00 2005
@@ -0,0 +1,40 @@
+package org.apache.axis.jaxrpc.client;
+
+import junit.framework.TestCase;
+import org.apache.axis.jaxrpc.client.ServiceFactoryImpl;
+
+public class ServiceFactoryImplTest extends TestCase
+{
+ org.apache.axis.jaxrpc.client.ServiceFactoryImpl servicefactoryimpl = null;
+
+ public ServiceFactoryImplTest(String name) {
+ super(name);
+ }
+
+ public org.apache.axis.jaxrpc.client.ServiceFactoryImpl createInstance() throws Exception {
+ return new org.apache.axis.jaxrpc.client.ServiceFactoryImpl();
+ }
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ servicefactoryimpl = createInstance();
+ }
+
+ protected void tearDown() throws Exception {
+ servicefactoryimpl = null;
+ super.tearDown();
+ }
+
+ public void testCreateService() throws Exception {
+ }
+
+ public void testLoadService() throws Exception {
+ }
+
+ public void testGetGeneratedClassPackageName() throws Exception {
+ }
+
+ public static void main(String[] args) {
+ junit.textui.TestRunner.run(ServiceFactoryImplTest.class);
+ }
+}
Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/ServiceImplTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/ServiceImplTest.java?rev=231423&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/ServiceImplTest.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/client/ServiceImplTest.java Thu Aug 11 04:27:00 2005
@@ -0,0 +1,73 @@
+package org.apache.axis.jaxrpc.client;
+
+import junit.framework.TestCase;
+import org.apache.axis.jaxrpc.client.ServiceImpl;
+
+public class ServiceImplTest extends TestCase
+{
+ org.apache.axis.jaxrpc.client.ServiceImpl serviceimpl = null;
+
+ public ServiceImplTest(String name) {
+ super(name);
+ }
+
+ public org.apache.axis.jaxrpc.client.ServiceImpl createInstance() throws Exception {
+ return new org.apache.axis.jaxrpc.client.ServiceImpl();
+ }
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ serviceimpl = createInstance();
+ }
+
+ protected void tearDown() throws Exception {
+ serviceimpl = null;
+ super.tearDown();
+ }
+
+ public void testCreateCall() throws Exception {
+ }
+
+ public void testCreateDispatch() throws Exception {
+ }
+
+ public void testCreatePort() throws Exception {
+ }
+
+ public void testGetCalls() throws Exception {
+ }
+
+ public void testGetHandlerRegistry() throws Exception {
+ }
+
+ public void testGetPort() throws Exception {
+ }
+
+ public void testGetPorts() throws Exception {
+ }
+
+ public void testGetSecurityConfiguration() throws Exception {
+ }
+
+ public void testGetServiceName() throws Exception {
+ }
+
+ public void testGetTypeMappingRegistry() throws Exception {
+ }
+
+ public void testGetWSDLDocumentLocation() throws Exception {
+ }
+
+ public void testSetIsJAXB_USAGE() throws Exception {
+ boolean[] tests = {true, false};
+
+ for (int i = 0; i < tests.length; i++) {
+ serviceimpl.setJAXB_USAGE(tests[i]);
+ assertEquals(tests[i], serviceimpl.isJAXB_USAGE());
+ }
+ }
+
+ public static void main(String[] args) {
+ junit.textui.TestRunner.run(ServiceImplTest.class);
+ }
+}
Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/description/ParameterDescTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/description/ParameterDescTest.java?rev=231423&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/description/ParameterDescTest.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/description/ParameterDescTest.java Thu Aug 11 04:27:00 2005
@@ -0,0 +1,67 @@
+package org.apache.axis.jaxrpc.description;
+
+import junit.framework.TestCase;
+import org.apache.axis.jaxrpc.description.ParameterDesc;
+
+public class ParameterDescTest extends TestCase
+{
+ org.apache.axis.jaxrpc.description.ParameterDesc parameterdesc = null;
+
+ public ParameterDescTest(String name) {
+ super(name);
+ }
+
+ public org.apache.axis.jaxrpc.description.ParameterDesc createInstance() throws Exception {
+ return new org.apache.axis.jaxrpc.description.ParameterDesc();
+ }
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ parameterdesc = createInstance();
+ }
+
+ protected void tearDown() throws Exception {
+ parameterdesc = null;
+ super.tearDown();
+ }
+
+ public void testSetGetJavaType() throws Exception {
+ java.lang.Class[] tests = {new java.lang.Class(), null};
+
+ for (int i = 0; i < tests.length; i++) {
+ parameterdesc.setJavaType(tests[i]);
+ assertEquals(tests[i], parameterdesc.getJavaType());
+ }
+ }
+
+ public void testSetGetMode() throws Exception {
+ ParameterMode[] tests = {new ParameterMode(), null};
+
+ for (int i = 0; i < tests.length; i++) {
+ parameterdesc.setMode(tests[i]);
+ assertEquals(tests[i], parameterdesc.getMode());
+ }
+ }
+
+ public void testSetGetXmlType() throws Exception {
+ QName[] tests = {new QName(), null};
+
+ for (int i = 0; i < tests.length; i++) {
+ parameterdesc.setXmlType(tests[i]);
+ assertEquals(tests[i], parameterdesc.getXmlType());
+ }
+ }
+
+ public void testSetGetName() throws Exception {
+ QName[] tests = {new QName(), null};
+
+ for (int i = 0; i < tests.length; i++) {
+ parameterdesc.setName(tests[i]);
+ assertEquals(tests[i], parameterdesc.getName());
+ }
+ }
+
+ public static void main(String[] args) {
+ junit.textui.TestRunner.run(ParameterDescTest.class);
+ }
+}
Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/factory/WSDLFactoryImplTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/factory/WSDLFactoryImplTest.java?rev=231423&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/factory/WSDLFactoryImplTest.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/factory/WSDLFactoryImplTest.java Thu Aug 11 04:27:00 2005
@@ -0,0 +1,34 @@
+package org.apache.axis.jaxrpc.factory;
+
+import junit.framework.TestCase;
+import org.apache.axis.jaxrpc.factory.WSDLFactoryImpl;
+
+public class WSDLFactoryImplTest extends TestCase
+{
+ org.apache.axis.jaxrpc.factory.WSDLFactoryImpl wsdlfactoryimpl = null;
+
+ public WSDLFactoryImplTest(String name) {
+ super(name);
+ }
+
+ public org.apache.axis.jaxrpc.factory.WSDLFactoryImpl createInstance() throws Exception {
+ return new org.apache.axis.jaxrpc.factory.WSDLFactoryImpl();
+ }
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ wsdlfactoryimpl = createInstance();
+ }
+
+ protected void tearDown() throws Exception {
+ wsdlfactoryimpl = null;
+ super.tearDown();
+ }
+
+ public void testGetParser() throws Exception {
+ }
+
+ public static void main(String[] args) {
+ junit.textui.TestRunner.run(WSDLFactoryImplTest.class);
+ }
+}
Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/handler/Axis2HandlerTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/handler/Axis2HandlerTest.java?rev=231423&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/handler/Axis2HandlerTest.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/handler/Axis2HandlerTest.java Thu Aug 11 04:27:00 2005
@@ -0,0 +1,43 @@
+package org.apache.axis.jaxrpc.handler;
+
+import junit.framework.TestCase;
+import org.apache.axis.jaxrpc.handler.Axis2Handler;
+
+public class Axis2HandlerTest extends TestCase
+{
+ org.apache.axis.jaxrpc.handler.Axis2Handler axis2handler = null;
+
+ public Axis2HandlerTest(String name) {
+ super(name);
+ }
+
+ public org.apache.axis.jaxrpc.handler.Axis2Handler createInstance() throws Exception {
+ return new org.apache.axis.jaxrpc.handler.Axis2Handler();
+ }
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ axis2handler = createInstance();
+ }
+
+ protected void tearDown() throws Exception {
+ axis2handler = null;
+ super.tearDown();
+ }
+
+ public void testSetGetJaxRpcHandler() throws Exception {
+ javax.xml.rpc.handler.AbstractHandler[] tests = {new javax.xml.rpc.handler.AbstractHandler(), null};
+
+ for (int i = 0; i < tests.length; i++) {
+ axis2handler.setJaxRpcHandler(tests[i]);
+ assertEquals(tests[i], axis2handler.getJaxRpcHandler());
+ }
+ }
+
+ public void testInvoke() throws Exception {
+ }
+
+ public static void main(String[] args) {
+ junit.textui.TestRunner.run(Axis2HandlerTest.class);
+ }
+}
Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/handler/Copy of Axis2HandlerTest.j
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/handler/Copy%20of%20Axis2HandlerTest.j?rev=231423&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/handler/Copy of Axis2HandlerTest.j (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/handler/Copy of Axis2HandlerTest.j Thu Aug 11 04:27:00 2005
@@ -0,0 +1,86 @@
+package org.apache.axis.jaxrpc.handler;
+
+import junit.framework.TestCase;
+// JUnitDoclet begin import
+import org.apache.axis.jaxrpc.handler.Axis2Handler;
+// JUnitDoclet end import
+
+/**
+
+
+* Please see www.junitdoclet.org, www.gnu.org
+* and www.objectfab.de for informations about
+* the tool, the licence and the authors.
+*/
+
+
+public class Axis2HandlerTest
+// JUnitDoclet begin extends_implements
+extends TestCase
+// JUnitDoclet end extends_implements
+{
+ // JUnitDoclet begin class
+ org.apache.axis.jaxrpc.handler.Axis2Handler axis2handler = null;
+ // JUnitDoclet end class
+
+ public Axis2HandlerTest(String name) {
+ // JUnitDoclet begin method Axis2HandlerTest
+ super(name);
+ // JUnitDoclet end method Axis2HandlerTest
+ }
+
+ public org.apache.axis.jaxrpc.handler.Axis2Handler createInstance() throws Exception {
+ // JUnitDoclet begin method testcase.createInstance
+ return new org.apache.axis.jaxrpc.handler.Axis2Handler();
+ // JUnitDoclet end method testcase.createInstance
+ }
+
+ protected void setUp() throws Exception {
+ // JUnitDoclet begin method testcase.setUp
+ super.setUp();
+ axis2handler = createInstance();
+ // JUnitDoclet end method testcase.setUp
+ }
+
+ protected void tearDown() throws Exception {
+ // JUnitDoclet begin method testcase.tearDown
+ axis2handler = null;
+ super.tearDown();
+ // JUnitDoclet end method testcase.tearDown
+ }
+
+ public void testSetGetJaxRpcHandler() throws Exception {
+ // JUnitDoclet begin method setJaxRpcHandler getJaxRpcHandler
+ javax.xml.rpc.handler.AbstractHandler[] tests = {new javax.xml.rpc.handler.AbstractHandler(), null};
+
+ for (int i = 0; i < tests.length; i++) {
+ axis2handler.setJaxRpcHandler(tests[i]);
+ assertEquals(tests[i], axis2handler.getJaxRpcHandler());
+ }
+ // JUnitDoclet end method setJaxRpcHandler getJaxRpcHandler
+ }
+
+ public void testInvoke() throws Exception {
+ // JUnitDoclet begin method invoke
+ // JUnitDoclet end method invoke
+ }
+
+
+
+ /**
+ * JUnitDoclet moves marker to this method, if there is not match
+ * for them in the regenerated code and if the marker is not empty.
+ * This way, no test gets lost when regenerating after renaming.
+ * Method testVault is supposed to be empty.
+ */
+ public void testVault() throws Exception {
+ // JUnitDoclet begin method testcase.testVault
+ // JUnitDoclet end method testcase.testVault
+ }
+
+ public static void main(String[] args) {
+ // JUnitDoclet begin method testcase.main
+ junit.textui.TestRunner.run(Axis2HandlerTest.class);
+ // JUnitDoclet end method testcase.main
+ }
+}
Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/handler/HandlerChainImplTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/handler/HandlerChainImplTest.java?rev=231423&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/handler/HandlerChainImplTest.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/handler/HandlerChainImplTest.java Thu Aug 11 04:27:00 2005
@@ -0,0 +1,61 @@
+package org.apache.axis.jaxrpc.handler;
+
+import junit.framework.TestCase;
+import org.apache.axis.jaxrpc.handler.HandlerChainImpl;
+
+public class HandlerChainImplTest extends TestCase
+{
+ org.apache.axis.jaxrpc.handler.HandlerChainImpl handlerchainimpl = null;
+
+ public HandlerChainImplTest(String name) {
+ super(name);
+ }
+
+ public org.apache.axis.jaxrpc.handler.HandlerChainImpl createInstance() throws Exception {
+ return new org.apache.axis.jaxrpc.handler.HandlerChainImpl();
+ }
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ handlerchainimpl = createInstance();
+ }
+
+ protected void tearDown() throws Exception {
+ handlerchainimpl = null;
+ super.tearDown();
+ }
+
+ public void testAddNewHandler() throws Exception {
+ }
+
+ public void testGetMessageInfo() throws Exception {
+ }
+
+ public void testHandleRequest() throws Exception {
+ }
+
+ public void testHandleResponse() throws Exception {
+ }
+
+ public void testHandleFault() throws Exception {
+ }
+
+ public void testInit() throws Exception {
+ }
+
+ public void testDestroy() throws Exception {
+ }
+
+ public void testSetGetRoles() throws Exception {
+ java.lang.String[][] tests = {new java.lang.String[0] , null};
+
+ for (int i = 0; i < tests.length; i++) {
+ handlerchainimpl.setRoles(tests[i]);
+ assertEquals(tests[i], handlerchainimpl.getRoles());
+ }
+ }
+
+ public static void main(String[] args) {
+ junit.textui.TestRunner.run(HandlerChainImplTest.class);
+ }
+}
Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/handler/MessageContextImplTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/handler/MessageContextImplTest.java?rev=231423&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/handler/MessageContextImplTest.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/handler/MessageContextImplTest.java Thu Aug 11 04:27:00 2005
@@ -0,0 +1,52 @@
+package org.apache.axis.jaxrpc.handler;
+
+import junit.framework.TestCase;
+import org.apache.axis.jaxrpc.handler.MessageContextImpl;
+
+public class MessageContextImplTest extends TestCase
+{
+ org.apache.axis.jaxrpc.handler.MessageContextImpl messagecontextimpl = null;
+
+ public MessageContextImplTest(String name) {
+ super(name);
+ }
+
+ public org.apache.axis.jaxrpc.handler.MessageContextImpl createInstance() throws Exception {
+ return new org.apache.axis.jaxrpc.handler.MessageContextImpl();
+ }
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ messagecontextimpl = createInstance();
+ }
+
+ protected void tearDown() throws Exception {
+ messagecontextimpl = null;
+ super.tearDown();
+ }
+
+ public void testSetPropertyScope() throws Exception {
+ }
+
+ public void testGetPropertyScope() throws Exception {
+ }
+
+ public void testSetProperty() throws Exception {
+ }
+
+ public void testGetProperty() throws Exception {
+ }
+
+ public void testRemoveProperty() throws Exception {
+ }
+
+ public void testContainsProperty() throws Exception {
+ }
+
+ public void testGetPropertyNames() throws Exception {
+ }
+
+ public static void main(String[] args) {
+ junit.textui.TestRunner.run(MessageContextImplTest.class);
+ }
+}
Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/handler/soap/SOAPMessageContextImplTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/handler/soap/SOAPMessageContextImplTest.java?rev=231423&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/handler/soap/SOAPMessageContextImplTest.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/handler/soap/SOAPMessageContextImplTest.java Thu Aug 11 04:27:00 2005
@@ -0,0 +1,52 @@
+package org.apache.axis.jaxrpc.handler.soap;
+
+import junit.framework.TestCase;
+import org.apache.axis.jaxrpc.handler.soap.SOAPMessageContextImpl;
+
+public class SOAPMessageContextImplTest extends TestCase
+{
+ org.apache.axis.jaxrpc.handler.soap.SOAPMessageContextImpl soapmessagecontextimpl = null;
+
+ public SOAPMessageContextImplTest(String name) {
+ super(name);
+ }
+
+ public org.apache.axis.jaxrpc.handler.soap.SOAPMessageContextImpl createInstance() throws Exception {
+ return new org.apache.axis.jaxrpc.handler.soap.SOAPMessageContextImpl();
+ }
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ soapmessagecontextimpl = createInstance();
+ }
+
+ protected void tearDown() throws Exception {
+ soapmessagecontextimpl = null;
+ super.tearDown();
+ }
+
+ public void testSetGetMessage() throws Exception {
+ SOAPMessage[] tests = {new SOAPMessage(), null};
+
+ for (int i = 0; i < tests.length; i++) {
+ soapmessagecontextimpl.setMessage(tests[i]);
+ assertEquals(tests[i], soapmessagecontextimpl.getMessage());
+ }
+ }
+
+ public void testGetHeaders() throws Exception {
+ }
+
+ public void testSetGetRoles() throws Exception {
+ java.lang.String[][] tests = {new java.lang.String[0] , null};
+
+ for (int i = 0; i < tests.length; i++) {
+ soapmessagecontextimpl.setRoles(tests[i]);
+ assertEquals(tests[i], soapmessagecontextimpl.getRoles());
+ }
+ }
+
+ public static void main(String[] args) {
+ junit.textui.TestRunner.run(SOAPMessageContextImplTest.class);
+ }
+}
Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/replace.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/replace.xml?rev=231423&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/replace.xml (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/replace.xml Thu Aug 11 04:27:00 2005
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+<project name="MasterBuild" default="replace">
+ <target name="replace">
+ <replace dir="${basedir}">
+ <include name="**/*.java"/>
+ <replacetoken><![CDATA[;nnpublic class]]></replacetoken>
+ <replacevalue><![CDATA[;
+
+public class]]></replacevalue>
+ </replace>
+<!--
+ <replaceregexp match="^.*JUnitDoclet .*$$" replace="" flags="g">
+ <fileset dir="${basedir}" includes="**/*.java"/>
+ </replaceregexp>
+-->
+ </target>
+</project>
Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/server/JAXRPCInOutMessageReceiverTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/server/JAXRPCInOutMessageReceiverTest.java?rev=231423&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/server/JAXRPCInOutMessageReceiverTest.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/server/JAXRPCInOutMessageReceiverTest.java Thu Aug 11 04:27:00 2005
@@ -0,0 +1,34 @@
+package org.apache.axis.jaxrpc.server;
+
+import junit.framework.TestCase;
+import org.apache.axis.jaxrpc.server.JAXRPCInOutMessageReceiver;
+
+public class JAXRPCInOutMessageReceiverTest extends TestCase
+{
+ org.apache.axis.jaxrpc.server.JAXRPCInOutMessageReceiver jaxrpcinoutmessagereceiver = null;
+
+ public JAXRPCInOutMessageReceiverTest(String name) {
+ super(name);
+ }
+
+ public org.apache.axis.jaxrpc.server.JAXRPCInOutMessageReceiver createInstance() throws Exception {
+ return new org.apache.axis.jaxrpc.server.JAXRPCInOutMessageReceiver();
+ }
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ jaxrpcinoutmessagereceiver = createInstance();
+ }
+
+ protected void tearDown() throws Exception {
+ jaxrpcinoutmessagereceiver = null;
+ super.tearDown();
+ }
+
+ public void testInvokeBusinessLogic() throws Exception {
+ }
+
+ public static void main(String[] args) {
+ junit.textui.TestRunner.run(JAXRPCInOutMessageReceiverTest.class);
+ }
+}
Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/server/JAXRPCServletTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/server/JAXRPCServletTest.java?rev=231423&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/server/JAXRPCServletTest.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/server/JAXRPCServletTest.java Thu Aug 11 04:27:00 2005
@@ -0,0 +1,34 @@
+package org.apache.axis.jaxrpc.server;
+
+import junit.framework.TestCase;
+import org.apache.axis.jaxrpc.server.JAXRPCServlet;
+
+public class JAXRPCServletTest extends TestCase
+{
+ org.apache.axis.jaxrpc.server.JAXRPCServlet jaxrpcservlet = null;
+
+ public JAXRPCServletTest(String name) {
+ super(name);
+ }
+
+ public org.apache.axis.jaxrpc.server.JAXRPCServlet createInstance() throws Exception {
+ return new org.apache.axis.jaxrpc.server.JAXRPCServlet();
+ }
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ jaxrpcservlet = createInstance();
+ }
+
+ protected void tearDown() throws Exception {
+ jaxrpcservlet = null;
+ super.tearDown();
+ }
+
+ public void testService() throws Exception {
+ }
+
+ public static void main(String[] args) {
+ junit.textui.TestRunner.run(JAXRPCServletTest.class);
+ }
+}
Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/server/ServletEndpointContextImplTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/server/ServletEndpointContextImplTest.java?rev=231423&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/server/ServletEndpointContextImplTest.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/server/ServletEndpointContextImplTest.java Thu Aug 11 04:27:00 2005
@@ -0,0 +1,46 @@
+package org.apache.axis.jaxrpc.server;
+
+import junit.framework.TestCase;
+import org.apache.axis.jaxrpc.server.ServletEndpointContextImpl;
+
+public class ServletEndpointContextImplTest extends TestCase
+{
+ org.apache.axis.jaxrpc.server.ServletEndpointContextImpl servletendpointcontextimpl = null;
+
+ public ServletEndpointContextImplTest(String name) {
+ super(name);
+ }
+
+ public org.apache.axis.jaxrpc.server.ServletEndpointContextImpl createInstance() throws Exception {
+ return new org.apache.axis.jaxrpc.server.ServletEndpointContextImpl();
+ }
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ servletendpointcontextimpl = createInstance();
+ }
+
+ protected void tearDown() throws Exception {
+ servletendpointcontextimpl = null;
+ super.tearDown();
+ }
+
+ public void testGetMessageContext() throws Exception {
+ }
+
+ public void testGetUserPrincipal() throws Exception {
+ }
+
+ public void testGetHttpSession() throws Exception {
+ }
+
+ public void testGetServletContext() throws Exception {
+ }
+
+ public void testIsUserInRole() throws Exception {
+ }
+
+ public static void main(String[] args) {
+ junit.textui.TestRunner.run(ServletEndpointContextImplTest.class);
+ }
+}
Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/soap/SOAPBindingImplTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/soap/SOAPBindingImplTest.java?rev=231423&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/soap/SOAPBindingImplTest.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/soap/SOAPBindingImplTest.java Thu Aug 11 04:27:00 2005
@@ -0,0 +1,49 @@
+package org.apache.axis.jaxrpc.soap;
+
+import junit.framework.TestCase;
+import org.apache.axis.jaxrpc.soap.SOAPBindingImpl;
+
+public class SOAPBindingImplTest extends TestCase
+{
+ org.apache.axis.jaxrpc.soap.SOAPBindingImpl soapbindingimpl = null;
+
+ public SOAPBindingImplTest(String name) {
+ super(name);
+ }
+
+ public org.apache.axis.jaxrpc.soap.SOAPBindingImpl createInstance() throws Exception {
+ return new org.apache.axis.jaxrpc.soap.SOAPBindingImpl();
+ }
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ soapbindingimpl = createInstance();
+ }
+
+ protected void tearDown() throws Exception {
+ soapbindingimpl = null;
+ super.tearDown();
+ }
+
+ public void testSetGetRoles() throws Exception {
+ java.util.Set[] tests = {new java.util.Set(), null};
+
+ for (int i = 0; i < tests.length; i++) {
+ soapbindingimpl.setRoles(tests[i]);
+ assertEquals(tests[i], soapbindingimpl.getRoles());
+ }
+ }
+
+ public void testSetGetBinding() throws Exception {
+ String[] tests = {new String(), null};
+
+ for (int i = 0; i < tests.length; i++) {
+ soapbindingimpl.setBinding(tests[i]);
+ assertEquals(tests[i], soapbindingimpl.getBinding());
+ }
+ }
+
+ public static void main(String[] args) {
+ junit.textui.TestRunner.run(SOAPBindingImplTest.class);
+ }
+}
Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/utils/ClassUtilsTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/utils/ClassUtilsTest.java?rev=231423&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/utils/ClassUtilsTest.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/utils/ClassUtilsTest.java Thu Aug 11 04:27:00 2005
@@ -0,0 +1,58 @@
+package org.apache.axis.jaxrpc.utils;
+
+import junit.framework.TestCase;
+import org.apache.axis.jaxrpc.utils.ClassUtils;
+
+public class ClassUtilsTest extends TestCase
+{
+ org.apache.axis.jaxrpc.utils.ClassUtils classutils = null;
+
+ public ClassUtilsTest(String name) {
+ super(name);
+ }
+
+ public org.apache.axis.jaxrpc.utils.ClassUtils createInstance() throws Exception {
+ return new org.apache.axis.jaxrpc.utils.ClassUtils();
+ }
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ classutils = createInstance();
+ }
+
+ protected void tearDown() throws Exception {
+ classutils = null;
+ super.tearDown();
+ }
+
+ public void testSetGetDefaultClassLoader() throws Exception {
+ ClassLoader[] tests = {new ClassLoader(), null};
+
+ for (int i = 0; i < tests.length; i++) {
+ classutils.setDefaultClassLoader(tests[i]);
+ assertEquals(tests[i], classutils.getDefaultClassLoader());
+ }
+ }
+
+ public void testSetClassLoader() throws Exception {
+ }
+
+ public void testGetClassLoader() throws Exception {
+ }
+
+ public void testRemoveClassLoader() throws Exception {
+ }
+
+ public void testForName() throws Exception {
+ }
+
+ public void testGetResourceAsStream() throws Exception {
+ }
+
+ public void testCreateClassLoader() throws Exception {
+ }
+
+ public static void main(String[] args) {
+ junit.textui.TestRunner.run(ClassUtilsTest.class);
+ }
+}
Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/utils/StringUtilsTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/utils/StringUtilsTest.java?rev=231423&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/utils/StringUtilsTest.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/test/org/apache/axis/jaxrpc/utils/StringUtilsTest.java Thu Aug 11 04:27:00 2005
@@ -0,0 +1,55 @@
+package org.apache.axis.jaxrpc.utils;
+
+import junit.framework.TestCase;
+import org.apache.axis.jaxrpc.utils.StringUtils;
+
+public class StringUtilsTest extends TestCase
+{
+ org.apache.axis.jaxrpc.utils.StringUtils stringutils = null;
+
+ public StringUtilsTest(String name) {
+ super(name);
+ }
+
+ public org.apache.axis.jaxrpc.utils.StringUtils createInstance() throws Exception {
+ return new org.apache.axis.jaxrpc.utils.StringUtils();
+ }
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ stringutils = createInstance();
+ }
+
+ protected void tearDown() throws Exception {
+ stringutils = null;
+ super.tearDown();
+ }
+
+ public void testStartsWithIgnoreWhitespaces() throws Exception {
+ }
+
+ public void testSplit() throws Exception {
+ }
+
+ public void testIsEmpty() throws Exception {
+ }
+
+ public void testStrip() throws Exception {
+ }
+
+ public void testStripStart() throws Exception {
+ }
+
+ public void testStripEnd() throws Exception {
+ }
+
+ public void testEscapeNumericChar() throws Exception {
+ }
+
+ public void testUnescapeNumericChar() throws Exception {
+ }
+
+ public static void main(String[] args) {
+ junit.textui.TestRunner.run(StringUtilsTest.class);
+ }
+}