org.jboss.test.jbossnet.jmx
Class JmxUnitTestCase

java.lang.Object
  extended byTestCase
      extended byorg.jboss.test.JBossTestCase (src) 
          extended byorg.jboss.test.jbossnet.JBossNetTestBase (src) 
              extended byorg.jboss.test.jbossnet.jmx.JmxUnitTestCase
Direct Known Subclasses:
RedeployJmxUnitTestCase (src)

public class JmxUnitTestCase
extends JBossNetTestBase (src)

Tests remote accessibility of JMX services

Since:
11. Oktober 2001
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.test.jbossnet.JBossNetTestBase (src)
ADDRESS, AXIS_CONTEXT, PROTOCOL, SERVICE_PORT, SERVICES_LOCATION
 
Fields inherited from class org.jboss.test.JBossTestCase (src)
delegate, deploymentException, log
 
Constructor Summary
JmxUnitTestCase(java.lang.String name)
           
 
Method Summary
 void checkWsdlOf(java.lang.String service)
          tests wsdl access
protected  java.lang.String getAxisConfiguration()
          where the config is stored
static Test suite()
          Method suite, deploys additional jmx bean+web service
 void testAdaptor()
          tests the (typed) adaptor access
 void testBasic()
          tests a very (untyped) basic call through the normal invocation handler
 void testDynamicGetter()
           
 void testDynamicMethodInvoke()
           
 void testGetter()
           
 void testMBeanHandler()
          tests a very (untyped) basic call through the mbean invocation handler
 void testMethodInvoke()
           
 void testSetter()
           
 void testSetterDynamic()
           
 void testWsdl()
          tests wsdl access
 
Methods inherited from class org.jboss.test.jbossnet.JBossNetTestBase (src)
createService, createService
 
Methods inherited from class org.jboss.test.JBossTestCase (src)
deploy, flushAuthCache, flushAuthCache, getBeanCount, getDeployerName, getDeploySetup, getDeployURL, getInitialContext, getIterationCount, getJndiInitFactory, getJndiURL, getLog, getResourceURL, getServer, getServerHost, getThreadCount, initDelegate, invoke, restartDBPool, sleep, testServerFound, undeploy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmxUnitTestCase

public JmxUnitTestCase(java.lang.String name)
Method Detail

getAxisConfiguration

protected java.lang.String getAxisConfiguration()
where the config is stored

Overrides:
getAxisConfiguration in class JBossNetTestBase (src)

testBasic

public void testBasic()
               throws java.lang.Exception
tests a very (untyped) basic call through the normal invocation handler

Throws:
java.lang.Exception

testMBeanHandler

public void testMBeanHandler()
                      throws java.lang.Exception
tests a very (untyped) basic call through the mbean invocation handler

Throws:
java.lang.Exception

testAdaptor

public void testAdaptor()
                 throws java.lang.Exception
tests the (typed) adaptor access

Throws:
java.lang.Exception

testGetter

public void testGetter()
                throws java.lang.Exception
Throws:
java.lang.Exception

testDynamicGetter

public void testDynamicGetter()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testSetter

public void testSetter()
                throws java.lang.Exception
Throws:
java.lang.Exception

testSetterDynamic

public void testSetterDynamic()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testMethodInvoke

public void testMethodInvoke()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testDynamicMethodInvoke

public void testDynamicMethodInvoke()
                             throws java.lang.Exception
Throws:
java.lang.Exception

checkWsdlOf

public void checkWsdlOf(java.lang.String service)
                 throws java.lang.Exception
tests wsdl access

Throws:
java.lang.Exception

testWsdl

public void testWsdl()
              throws java.lang.Exception
tests wsdl access

Throws:
java.lang.Exception

suite

public static Test suite()
                  throws java.lang.Exception
Method suite, deploys additional jmx bean+web service

Returns:
Throws:
java.lang.Exception