|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase jade.jademx.mbean.JadeBaseTest
public class JadeBaseTest
JadeAgent MBean test
Nested Class Summary | |
---|---|
private class |
JadeBaseTest.JadeNil
a class for testing bare JadeBAse |
Field Summary | |
---|---|
private jade.jademx.server.JadeMXServer |
jadeMXServer
jadeMXServer we're using |
private JadeBaseTest.JadeNil |
jadeNil
instantiated version of JadeBase |
private javax.management.MBeanServer |
mBeanServer
... |
Constructor Summary | |
---|---|
JadeBaseTest()
|
Method Summary | |
---|---|
protected void |
setUp()
|
static junit.framework.Test |
suite()
return the implicit suite of tests |
protected void |
tearDown()
|
void |
testJadeBaseAddNullNotificationInfoTwice()
exercise JadeBase.addNotificationInfo() |
void |
testJadeBaseGetBadAttributes()
try to get non-existent attributes |
void |
testJadeBaseGetNoAttributes()
try getting empty attribute list |
void |
testJadeBaseInvoke()
exercise JadeBase.invoke() |
void |
testJadeBasePreRegister()
test JadeBase.preRegister() |
void |
testJadeBaseSetBadAttributes()
try to set non-existent attributes |
void |
testJadeBaseSetEmptyNotificationInfo()
exercise JadeBase.setNotificationInfo(null) |
void |
testJadeBaseSetNullNotificationInfo()
exercise JadeBase.setNotificationInfo(null) |
void |
testJadeBaseUnregisteredToString()
test getting mbean name when not 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 |
---|
private jade.jademx.server.JadeMXServer jadeMXServer
private javax.management.MBeanServer mBeanServer
private JadeBaseTest.JadeNil jadeNil
Constructor Detail |
---|
public JadeBaseTest()
Method Detail |
---|
protected void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
protected void tearDown() throws java.lang.Exception
tearDown
in class junit.framework.TestCase
java.lang.Exception
public void testJadeBasePreRegister() throws java.lang.Exception
JadeBase.preRegister()
JademxException
- unexpected problems with jademx
java.lang.Exception
public void testJadeBaseSetNullNotificationInfo()
JadeBase.setNotificationInfo(null)
public void testJadeBaseSetEmptyNotificationInfo()
JadeBase.setNotificationInfo(null)
public void testJadeBaseAddNullNotificationInfoTwice()
JadeBase.addNotificationInfo()
public void testJadeBaseGetBadAttributes()
public void testJadeBaseUnregisteredToString()
public void testJadeBaseGetNoAttributes()
public void testJadeBaseSetBadAttributes()
public void testJadeBaseInvoke() throws javax.management.MBeanException
JadeBase.invoke()
javax.management.MBeanException
public static junit.framework.Test suite()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |