|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
jade.jademx.mbean.JadePlatformTest
public class JadePlatformTest
JadePlatform MBean test
| Field Summary | |
|---|---|
private static java.lang.String |
AGENT_LOCAL_NAME_BAD
intentionally non-existent agent name |
private static java.lang.String |
AGENT_LOCAL_NAME_PINGER1
name for 1st ping agent |
private static java.lang.String |
AGENT_LOCAL_NAME_PINGER2
name for 2nd ping agent |
private static java.lang.String |
BAD_CLASS_NAME
intentionally non-existent class name |
private static java.lang.String |
EMPTY_PLATFORM_CONFIG_RESOURCE
resource name for configuration of one empty platform |
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 |
TWO_PING_CONFIG_RESOURCE
resource name for configuration of two ping agents |
| Constructor Summary | |
|---|---|
JadePlatformTest()
|
|
| Method Summary | |
|---|---|
protected void |
setUp()
|
static junit.framework.Test |
suite()
return the implicit suite of tests |
protected void |
tearDown()
|
void |
testAgentCreateReturnName()
test JadePlatform.createNewAgentReturnName() |
void |
testAgentNameRetrieval()
test agent name retrieval |
void |
testGetJadeRuntime()
test getting platform's runtime |
void |
testPlatformInitialState()
test that platform begins life in ready state |
void |
testThreadInfo()
test getting thread information about a platform |
| 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 |
|---|
private jade.jademx.server.JadeMXServer jadeMXServer
private jade.jademx.mbean.JadeRuntime jadeRuntime
private static final java.lang.String EMPTY_PLATFORM_CONFIG_RESOURCE
private static final java.lang.String TWO_PING_CONFIG_RESOURCE
private static final java.lang.String AGENT_LOCAL_NAME_PINGER1
private static final java.lang.String AGENT_LOCAL_NAME_PINGER2
private static final java.lang.String AGENT_LOCAL_NAME_BAD
private static final java.lang.String BAD_CLASS_NAME
| Constructor Detail |
|---|
public JadePlatformTest()
| Method Detail |
|---|
protected void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.Exception
protected void tearDown()
throws java.lang.Exception
tearDown in class junit.framework.TestCasejava.lang.Exception
public void testGetJadeRuntime()
throws jade.jademx.mbean.JademxException
JademxException - some unexpected error
public void testThreadInfo()
throws jade.jademx.mbean.JademxException
JademxException - some unexpected error
public void testPlatformInitialState()
throws jade.jademx.mbean.JademxException
JademxException - some unexpected error
public void testAgentNameRetrieval()
throws jade.jademx.mbean.JademxException
JademxException - some unexpected error
public void testAgentCreateReturnName()
throws jade.jademx.mbean.JademxException
JadePlatform.createNewAgentReturnName()
JademxException - some unexpected errorpublic static junit.framework.Test suite()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||