xmlBlaster 2.2.0 API

org.xmlBlaster.test.jmx
Class TestRemoteMBeanServer

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.xmlBlaster.test.jmx.TestRemoteMBeanServer
All Implemented Interfaces:
junit.framework.Test

public class TestRemoteMBeanServer
extends junit.framework.TestCase


Field Summary
private  Global glob
           
(package private)  javax.management.ObjectName JmxLoggerName
           
private static java.util.logging.Logger log
           
private static java.lang.String ME
           
protected  javax.management.ObjectName RequestBrokerName
           
protected  AsyncMBeanServer server
           
 
Constructor Summary
TestRemoteMBeanServer()
           
TestRemoteMBeanServer(java.lang.String testName)
           
 
Method Summary
static void main(java.lang.String[] args)
           
protected  void setUp()
           
static junit.framework.Test suite()
          Method is used by TestRunner to load these tests
protected  void tearDown()
           
private  void testCreateMBean()
           
private  void testGetAttribute()
           
private  void testGetMBeanCount()
           
private  void testGetMBeanInfo()
           
private  void testInvoke()
           
private  boolean testIsRegistered()
           
 void testRemoteMBeanServer()
           
private  void testUnregisterMBean(boolean registered)
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ME

private static final java.lang.String ME
See Also:
Constant Field Values

glob

private Global glob

log

private static java.util.logging.Logger log

RequestBrokerName

protected javax.management.ObjectName RequestBrokerName

server

protected AsyncMBeanServer server

JmxLoggerName

javax.management.ObjectName JmxLoggerName
Constructor Detail

TestRemoteMBeanServer

public TestRemoteMBeanServer()

TestRemoteMBeanServer

public TestRemoteMBeanServer(java.lang.String testName)
Method Detail

suite

public static junit.framework.Test suite()
Method is used by TestRunner to load these tests


main

public static void main(java.lang.String[] args)

setUp

protected void setUp()
Overrides:
setUp in class junit.framework.TestCase

tearDown

protected void tearDown()
Overrides:
tearDown in class junit.framework.TestCase

testRemoteMBeanServer

public void testRemoteMBeanServer()

testIsRegistered

private boolean testIsRegistered()

testInvoke

private void testInvoke()

testCreateMBean

private void testCreateMBean()

testGetMBeanCount

private void testGetMBeanCount()

testGetAttribute

private void testGetAttribute()

testUnregisterMBean

private void testUnregisterMBean(boolean registered)

testGetMBeanInfo

private void testGetMBeanInfo()

xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.