jade.jademx.agent
Class JademxAgentTest

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

public class JademxAgentTest
extends junit.framework.TestCase

JadeAgent MBean test

Author:
David Bernstein, Caboodle Networks, Inc.

Field Summary
private static java.lang.String AGENT_LOCAL_NAME_DUMMY
          name for dummy agent
private  jade.jademx.server.JadeMXServer jadeMXServer
          jadeMXServer we're using
private  jade.jademx.mbean.JadeRuntime jadeRuntime
          runtime for test use
private static java.lang.String ONE_BASE_CONFIG_RESOURCE
          resource name for configuration of one nop agent
(package private)  jade.jademx.mbean.JadePlatform platformMBean
          mbean for platform under test
 
Constructor Summary
JademxAgentTest()
           
 
Method Summary
protected  void setUp()
           
static junit.framework.Test suite()
          return the implicit suite of tests
protected  void tearDown()
           
 void testJademxAgentBase()
          run the NOP agent, which exercises base class code during setup
 
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

jadeMXServer

private jade.jademx.server.JadeMXServer jadeMXServer
jadeMXServer we're using


jadeRuntime

private jade.jademx.mbean.JadeRuntime jadeRuntime
runtime for test use


platformMBean

jade.jademx.mbean.JadePlatform platformMBean
mbean for platform under test


ONE_BASE_CONFIG_RESOURCE

private static final java.lang.String ONE_BASE_CONFIG_RESOURCE
resource name for configuration of one nop agent

See Also:
Constant Field Values

AGENT_LOCAL_NAME_DUMMY

private static final java.lang.String AGENT_LOCAL_NAME_DUMMY
name for dummy agent

See Also:
Constant Field Values
Constructor Detail

JademxAgentTest

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

testJademxAgentBase

public void testJademxAgentBase()
                         throws jade.jademx.mbean.JademxException
run the NOP agent, which exercises base class code during setup

Throws:
jade.jademx.mbean.JademxException

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