Constructor and Description |
---|
InstanceReadyPoller(org.apache.sling.testing.clients.SlingClient client) |
Modifier and Type | Method and Description |
---|---|
Boolean |
call() |
static void |
installTest(org.apache.sling.testing.clients.SlingClient client)
Method to install the little script on the server that will allow this
poller to work.
|
static void |
uninstallTest(org.apache.sling.testing.clients.SlingClient client)
To be called at the end of the test in order to remove that script that
was used to do the polling.
|
public InstanceReadyPoller(org.apache.sling.testing.clients.SlingClient client)
public Boolean call() throws org.apache.sling.testing.clients.ClientException
public static void installTest(org.apache.sling.testing.clients.SlingClient client) throws IOException, org.apache.sling.testing.clients.ClientException
client
- clientIOException
- if the test cannot be installedorg.apache.sling.testing.clients.ClientException
- if the request failspublic static void uninstallTest(org.apache.sling.testing.clients.SlingClient client) throws org.apache.sling.testing.clients.ClientException
client
- clientorg.apache.sling.testing.clients.ClientException
- if the request failsCopyright © 2018. All rights reserved.