mx4j/src/test/test/mx4j/tools/remote HTTPConnectorServerTestCase.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
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29525/src/test/test/mx4j/tools/remote
Modified Files:
HTTPConnectorServerTestCase.java
Log Message:
Base test class for connector servers that use HTTP as transport protocol
Index: HTTPConnectorServerTestCase.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/test/test/mx4j/tools/remote/HTTPConnectorServerTestCase.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** HTTPConnectorServerTestCase.java 18 Jul 2004 21:11:46 -0000 1.1
--- HTTPConnectorServerTestCase.java 10 Aug 2004 09:10:28 -0000 1.2
***************
*** 1,5 ****
/*
! * © Copyright 2004 Hewlett-Packard
*/
package test.mx4j.tools.remote;
--- 1,10 ----
/*
! * Copyright (C) MX4J.
! * All rights reserved.
! *
! * This software is distributed under the terms of the MX4J License version 1.0.
! * See the terms of the MX4J License in the documentation provided with this software.
*/
+
package test.mx4j.tools.remote;
***************
*** 16,26 ****
/**
! * @version $Revision$, $Date$
*/
public abstract class HTTPConnectorServerTestCase extends JMXConnectorServerTestCase
{
! public HTTPConnectorServerTestCase(String s)
{
! super(s);
}
--- 21,32 ----
/**
! * @author <a href="mailto:[email protected]">Simone Bordet</a>
! * @version $Revision$
*/
public abstract class HTTPConnectorServerTestCase extends JMXConnectorServerTestCase
{
! public HTTPConnectorServerTestCase(String name)
{
! super(name);
}
***************
*** 40,44 ****
--- 46,52 ----
cntorServer1.start();
+ sleep(5000);
cntorServer2.start();
+ sleep(5000);
// Make sure they work
***************
*** 86,90 ****
--- 94,100 ----
cntorServer1.start();
+ sleep(5000);
cntorServer2.start();
+ sleep(5000);
// Make sure they work
***************
*** 146,149 ****
--- 156,160 ----
{
cntorServer.start();
+ sleep(5000);
JMXConnector cntor = JMXConnectorFactory.connect(cntorServer.getAddress(), getEnvironment());
try
***************
*** 153,156 ****
--- 164,168 ----
assertNotNull(names);
assertTrue(names.size() > 0);
+ assertEquals(names.size(), server.getMBeanCount().intValue());
}
finally
***************
*** 164,166 ****
--- 176,183 ----
}
}
+
+ public void testStartWithProviderClassLoader() throws Exception
+ {
+ // Do nothing since messing with the context classloader confuses the web container
+ }
}
-------------------------------------------------------
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