jade.jademx.agent
Class JademxAgentProxyTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by jade.jademx.agent.JademxAgentProxyTest
All Implemented Interfaces:
junit.framework.Test

public class JademxAgentProxyTest
extends junit.framework.TestCase

JademxAgentProxy test

Author:
David Bernstein, Caboodle Networks, Inc.

Field Summary
private  jade.util.Logger logger
          my logger
private  javax.management.MBeanServer mBeanServer
          MBeanServer being used
private static java.lang.String PINGEE_LOCAL_NAME
          local name for pingee agent
private  jade.jademx.mbean.JadeRuntimeMBean runtime
          created JadeRuntimeMBean
private  javax.management.ObjectName runtimeON
          ObjectName for JadeRuntimeMBean
 
Constructor Summary
JademxAgentProxyTest()
           
 
Method Summary
private  jade.jademx.config.jademx.onto.JademxConfig buildPingerPingeeAgentCfg()
          make a configuration for testing use programmatically
protected  void setUp()
           
static junit.framework.Test suite()
          return the implicit suite of tests
protected  void tearDown()
           
 void testConstructorNullMBeanServer()
          test null MBeanServer to constructor
 void testConstructorNullObjectName()
          test null ObjectName to constructor
 
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

logger

private final jade.util.Logger logger
my logger


PINGEE_LOCAL_NAME

private static final java.lang.String PINGEE_LOCAL_NAME
local name for pingee agent

See Also:
Constant Field Values

mBeanServer

private javax.management.MBeanServer mBeanServer
MBeanServer being used


runtime

private jade.jademx.mbean.JadeRuntimeMBean runtime
created JadeRuntimeMBean


runtimeON

private javax.management.ObjectName runtimeON
ObjectName for JadeRuntimeMBean

Constructor Detail

JademxAgentProxyTest

public JademxAgentProxyTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception

buildPingerPingeeAgentCfg

private jade.jademx.config.jademx.onto.JademxConfig buildPingerPingeeAgentCfg()
make a configuration for testing use programmatically


testConstructorNullObjectName

public void testConstructorNullObjectName()
test null ObjectName to constructor


testConstructorNullMBeanServer

public void testConstructorNullMBeanServer()
test null MBeanServer to constructor


suite

public static junit.framework.Test suite()
return the implicit suite of tests

Returns:
the implicit suite of tests


Copyright © 2005-2006 Caboodle Networks, Inc.
LGPL license