|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.TestCase
org.jboss.test.jbossmx.compliance.TestCase (src)
org.jboss.test.jbossmx.compliance.monitor.BasicTestCase
Basic monitor test.
The aim of these tests is to check the most common uses of the monitor services.
Field Summary |
Fields inherited from class org.jboss.test.jbossmx.compliance.TestCase (src) |
log, MBEAN_SERVER_DELEGATE, PERIOD, REPEATS, WAIT |
Constructor Summary | |
BasicTestCase(java.lang.String s)
|
Method Summary | |
void |
handleNotification(Notification (src) notification,
java.lang.Object handback)
Handle a notification, just add it to the list |
void |
testCounterDifferenceNotification()
Test a counter in difference mode. |
void |
testCounterSimpleNotification()
Test simple counter notification. |
void |
testGaugeSimpleBothNotification()
Test simple gauge notification high and low. |
void |
testGaugeSimpleHighNotification()
Test simple gauge notification high. |
void |
testGaugeSimpleLowNotification()
Test simple gauge notification low. |
void |
testStringBothNotification()
Test a String notification (both match and differ). |
void |
testStringDifferNotification()
Test a String notification (just differ). |
void |
testStringMatchNotification()
Test a String notification (just match). |
Methods inherited from class org.jboss.test.jbossmx.compliance.TestCase (src) |
testServerFound |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BasicTestCase(java.lang.String s)
Method Detail |
public void testCounterSimpleNotification() throws java.lang.Exception
java.lang.Exception
public void testCounterDifferenceNotification() throws java.lang.Exception
java.lang.Exception
public void testGaugeSimpleBothNotification() throws java.lang.Exception
java.lang.Exception
public void testGaugeSimpleHighNotification() throws java.lang.Exception
java.lang.Exception
public void testGaugeSimpleLowNotification() throws java.lang.Exception
java.lang.Exception
public void testStringBothNotification() throws java.lang.Exception
java.lang.Exception
public void testStringMatchNotification() throws java.lang.Exception
java.lang.Exception
public void testStringDifferNotification() throws java.lang.Exception
java.lang.Exception
public void handleNotification(Notification (src) notification, java.lang.Object handback)
handleNotification
in interface NotificationListener (src)
notification
- the notification receivedhandback
- not used
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |