public class HubTester extends Object
main(java.lang.String[]), testHub() or
testHub(org.votech.plastic.PlasticHubListener).| Constructor and Description |
|---|
HubTester(PlasticHubListener hub)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public HubTester(PlasticHubListener hub) throws HubTestException
hub - hub to testHubTestExceptionpublic URI getId()
public PlasticHubListener getHub()
public void dispose()
throws HubTestException
HubTestExceptionpublic void exerciseHub()
throws HubTestException
HubTestExceptionpublic static void testHub()
throws HubTestException
HubTestException - if the hub is faulty, or if no hub
is runningpublic static void testHub(PlasticHubListener hub) throws HubTestException
HubTestException - if the hub is faultypublic static void main(String[] args) throws HubTestException
HubTestException - if no hub is running, or if the hub
fails any of the testsCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.