|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.starlink.plastic.HubTester
Runs tests on an existing PlasticHubListener object.
The easiest way to use this class is to call one of the static methods
main(java.lang.String[]), testHub() or
testHub(org.votech.plastic.PlasticHubListener).
| Constructor Summary | |
HubTester(PlasticHubListener hub)
Constructor. |
|
| Method Summary | |
void |
dispose()
Disposes of this tester, clearing up as appropriate. |
void |
exerciseHub()
Runs most of the actual tests. |
PlasticHubListener |
getHub()
Returns hub object with which this tester is registered. |
URI |
getId()
Returns the registered client ID for this tester. |
static void |
main(String[] args)
Runs tests on a currently running hub. |
static void |
testHub()
Tests the currently running hub. |
static void |
testHub(PlasticHubListener hub)
Tests a given hub object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HubTester(PlasticHubListener hub)
throws HubTestException
hub - hub to test| Method Detail |
public URI getId()
public PlasticHubListener getHub()
public void dispose()
throws HubTestException
HubTestException
public void exerciseHub()
throws HubTestException
HubTestException
public static void testHub()
throws HubTestException
HubTestException - if the hub is faulty, or if no hub
is running
public static void testHub(PlasticHubListener hub)
throws HubTestException
HubTestException - if the hub is faulty
public static void main(String[] args)
throws HubTestException
HubTestException - if no hub is running, or if the hub
fails any of the tests
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||