jade.jademx.unit
Class NullAgentTest

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

public class NullAgentTest
extends junit.framework.TestCase

test the null agent

Author:
David Bernstein, Caboodle Networks, Inc.

Field Summary
private  jade.util.Logger logger
          my logger
private  javax.management.MBeanServer mBeanServer
          MBeanServer being used
private  jade.jademx.mbean.JadeRuntimeMBean runtime
          created JadeRuntimeMBean
private  javax.management.ObjectName runtimeON
          ObjectName for JadeRuntimeMBean
 
Constructor Summary
NullAgentTest()
           
 
Method Summary
private  jade.jademx.config.jademx.onto.JademxConfig buildNullAgentCfg()
          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 testNullAgent()
          test unit testing with calls via MBeanServer
 
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


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

NullAgentTest

public NullAgentTest()
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

buildNullAgentCfg

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


testNullAgent

public void testNullAgent()
test unit testing with calls via MBeanServer


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