mx4j/src/test/test/mx4j/tools/remote/soap SOAPConnectorInvocationTest.java,1.1,1.2 SOAPConnectorServerTest.java,1.5,1.6 SOAPConnectorTest.java,1.11,1.12 SOAPNotificationsTest.java,1.1,1.2

Simone Bordet <[email protected]>
Newsgroups gmane.comp.java.mx4j.cvs
Message-ID <[email protected]>
Update of /cvsroot/mx4j/mx4j/src/test/test/mx4j/tools/remote/soap
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29705/src/test/test/mx4j/tools/remote/soap

Modified Files:
	SOAPConnectorInvocationTest.java SOAPConnectorServerTest.java 
	SOAPConnectorTest.java SOAPNotificationsTest.java 
Log Message:
Refactored/Improved tests for SOAP protocol implementation

Index: SOAPNotificationsTest.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/test/test/mx4j/tools/remote/soap/SOAPNotificationsTest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** SOAPNotificationsTest.java	3 Oct 2003 13:40:50 -0000	1.1
--- SOAPNotificationsTest.java	10 Aug 2004 09:11:19 -0000	1.2
***************
*** 10,16 ****
  
  import java.net.MalformedURLException;
- import java.util.Map;
  import java.util.HashMap;
! 
  import javax.management.remote.JMXServiceURL;
  
--- 10,15 ----
  
  import java.net.MalformedURLException;
  import java.util.HashMap;
! import java.util.Map;
  import javax.management.remote.JMXServiceURL;
  
***************
*** 18,22 ****
  
  /**
-  *
   * @author <a href="mailto:[email protected]">Simone Bordet</a>
   * @version $Revision$
--- 17,20 ----
***************
*** 31,35 ****
     public JMXServiceURL createJMXConnectorServerAddress() throws MalformedURLException
     {
!       return new JMXServiceURL("soap", "localhost", 8080, "/axis/services/jmxconnector");
     }
  
--- 29,33 ----
     public JMXServiceURL createJMXConnectorServerAddress() throws MalformedURLException
     {
!       return new JMXServiceURL("soap", null, 8080, "/soap");
     }
  

Index: SOAPConnectorServerTest.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/test/test/mx4j/tools/remote/soap/SOAPConnectorServerTest.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** SOAPConnectorServerTest.java	19 Jul 2004 22:22:42 -0000	1.5
--- SOAPConnectorServerTest.java	10 Aug 2004 09:11:19 -0000	1.6
***************
*** 20,25 ****
  import javax.management.remote.JMXServiceURL;
  
  import mx4j.tools.remote.soap.SOAPConnectorServer;
- import mx4j.tools.remote.soap.web.jetty.JettyWebContainer;
  import org.apache.axis.transport.http.AxisServlet;
  import test.mx4j.tools.remote.HTTPConnectorServerTestCase;
--- 20,25 ----
  import javax.management.remote.JMXServiceURL;
  
+ import mx4j.tools.remote.http.jetty.JettyWebContainer;
  import mx4j.tools.remote.soap.SOAPConnectorServer;
  import org.apache.axis.transport.http.AxisServlet;
  import test.mx4j.tools.remote.HTTPConnectorServerTestCase;
***************
*** 38,42 ****
     public JMXServiceURL createJMXConnectorServerAddress() throws MalformedURLException
     {
!       return new JMXServiceURL("soap", "localhost", 8080, "/axis/services/jmxconnector");
     }
  
--- 38,42 ----
     public JMXServiceURL createJMXConnectorServerAddress() throws MalformedURLException
     {
!       return new JMXServiceURL("soap", null, 8080, "/soap");
     }
  
***************
*** 46,54 ****
     }
  
-    public void testStartWithProviderClassLoader() throws Exception
-    {
-       // Do nothing since messing with the context classloader causes the SOAPConnectorServer to fail its start
-    }
- 
     public void testExternalWebContainer() throws Exception
     {
--- 46,49 ----

Index: SOAPConnectorInvocationTest.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/test/test/mx4j/tools/remote/soap/SOAPConnectorInvocationTest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** SOAPConnectorInvocationTest.java	11 Sep 2003 18:34:14 -0000	1.1
--- SOAPConnectorInvocationTest.java	10 Aug 2004 09:11:19 -0000	1.2
***************
*** 10,16 ****
  
  import java.net.MalformedURLException;
- import java.util.Map;
  import java.util.HashMap;
! 
  import javax.management.remote.JMXServiceURL;
  
--- 10,15 ----
  
  import java.net.MalformedURLException;
  import java.util.HashMap;
! import java.util.Map;
  import javax.management.remote.JMXServiceURL;
  
***************
*** 23,34 ****
  public class SOAPConnectorInvocationTest extends JMXConnectorInvocationTestCase
  {
!    public SOAPConnectorInvocationTest(String s)
     {
!       super(s);
     }
  
     public JMXServiceURL createJMXConnectorServerAddress() throws MalformedURLException
     {
!       return new JMXServiceURL("soap", "localhost", 8080, "/axis/services/jmxconnector");
     }
  
--- 22,33 ----
  public class SOAPConnectorInvocationTest extends JMXConnectorInvocationTestCase
  {
!    public SOAPConnectorInvocationTest(String name)
     {
!       super(name);
     }
  
     public JMXServiceURL createJMXConnectorServerAddress() throws MalformedURLException
     {
!       return new JMXServiceURL("soap", null, 8080, "/soap");
     }
  

Index: SOAPConnectorTest.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/test/test/mx4j/tools/remote/soap/SOAPConnectorTest.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** SOAPConnectorTest.java	18 Jul 2004 21:37:27 -0000	1.11
--- SOAPConnectorTest.java	10 Aug 2004 09:11:19 -0000	1.12
***************
*** 24,35 ****
  public class SOAPConnectorTest extends JMXConnectorTestCase
  {
!    public SOAPConnectorTest(String s)
     {
!       super(s);
     }
  
     public JMXServiceURL createJMXConnectorServerAddress() throws MalformedURLException
     {
!       return new JMXServiceURL("soap", "localhost", 8080, "/axis/services/jmxconnector");
     }
  
--- 24,35 ----
  public class SOAPConnectorTest extends JMXConnectorTestCase
  {
!    public SOAPConnectorTest(String name)
     {
!       super(name);
     }
  
     public JMXServiceURL createJMXConnectorServerAddress() throws MalformedURLException
     {
!       return new JMXServiceURL("soap", null, 8080, "/soap");
     }
  



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.