public class TestObjectAppiumSuiteWatcher
extends org.junit.rules.TestWatcher
| Constructor and Description |
|---|
TestObjectAppiumSuiteWatcher() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(String apiKey,
long suiteId,
org.testobject.rest.api.appium.common.data.SuiteReport suiteReport,
boolean isLocalTest) |
protected void |
failed(Throwable e,
org.junit.runner.Description description) |
protected void |
finished(org.junit.runner.Description description) |
String |
getApiKey() |
String |
getTestDeviceId() |
URL |
getTestObjectOrLocalAppiumEndpointURL() |
String |
getTestReportId() |
void |
setApiKey(String apiKey) |
void |
setIsLocalTest(boolean isLocalTest) |
void |
setRemoteWebDriver(org.openqa.selenium.remote.RemoteWebDriver driver) |
void |
setRemoteWebDriver(org.openqa.selenium.remote.RemoteWebDriver driver,
URL apiEndpoint) |
void |
setSuiteId(long suiteId) |
void |
setSuiteReport(org.testobject.rest.api.appium.common.data.SuiteReport suiteReport) |
protected void |
skipped(org.junit.internal.AssumptionViolatedException e,
org.junit.runner.Description description) |
protected void |
starting(org.junit.runner.Description description) |
protected void |
succeeded(org.junit.runner.Description description) |
protected void starting(org.junit.runner.Description description)
starting in class org.junit.rules.TestWatcherprotected void succeeded(org.junit.runner.Description description)
succeeded in class org.junit.rules.TestWatcherprotected void failed(Throwable e, org.junit.runner.Description description)
failed in class org.junit.rules.TestWatcherprotected void skipped(org.junit.internal.AssumptionViolatedException e,
org.junit.runner.Description description)
skipped in class org.junit.rules.TestWatcherprotected void finished(org.junit.runner.Description description)
finished in class org.junit.rules.TestWatcherpublic void setRemoteWebDriver(org.openqa.selenium.remote.RemoteWebDriver driver)
public void setRemoteWebDriver(org.openqa.selenium.remote.RemoteWebDriver driver,
URL apiEndpoint)
public void configure(String apiKey, long suiteId, org.testobject.rest.api.appium.common.data.SuiteReport suiteReport, boolean isLocalTest)
public void setIsLocalTest(boolean isLocalTest)
public void setApiKey(String apiKey)
public void setSuiteId(long suiteId)
public void setSuiteReport(org.testobject.rest.api.appium.common.data.SuiteReport suiteReport)
public String getTestReportId()
public String getTestDeviceId()
public String getApiKey()
public URL getTestObjectOrLocalAppiumEndpointURL() throws MalformedURLException
MalformedURLExceptionCopyright © 2016. All rights reserved.