public class LogTestWatchman extends org.junit.rules.TestWatchman
| Modifier and Type | Field and Description |
|---|---|
protected org.openqa.selenium.remote.RemoteWebDriver |
driver |
protected String |
filePrefix |
protected String |
lastPageSource |
protected String |
lastScreenshot |
protected static org.apache.commons.logging.Log |
log |
protected String |
serverURL |
| Constructor and Description |
|---|
LogTestWatchman() |
LogTestWatchman(org.openqa.selenium.remote.RemoteWebDriver driver,
String serverURL) |
| Modifier and Type | Method and Description |
|---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runners.model.FrameworkMethod method,
Object target) |
void |
failed(Throwable e,
org.junit.runners.model.FrameworkMethod method) |
void |
finished(org.junit.runners.model.FrameworkMethod method) |
org.openqa.selenium.remote.RemoteWebDriver |
getDriver() |
String |
getServerURL() |
protected String |
getTestClassName(org.junit.runners.model.FrameworkMethod method) |
protected void |
logOnServer(String message) |
void |
runBeforeAfters() |
void |
setDriver(org.openqa.selenium.remote.RemoteWebDriver driver) |
void |
setServerURL(String serverURL) |
void |
starting(org.junit.runners.model.FrameworkMethod method) |
void |
succeeded(org.junit.runners.model.FrameworkMethod method) |
protected static final org.apache.commons.logging.Log log
protected String lastScreenshot
protected String lastPageSource
protected String filePrefix
protected org.openqa.selenium.remote.RemoteWebDriver driver
public LogTestWatchman(org.openqa.selenium.remote.RemoteWebDriver driver, String serverURL)
public LogTestWatchman()
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runners.model.FrameworkMethod method, Object target)
apply in interface org.junit.rules.MethodRuleapply in class org.junit.rules.TestWatchmanpublic void failed(Throwable e, org.junit.runners.model.FrameworkMethod method)
failed in class org.junit.rules.TestWatchmanpublic void finished(org.junit.runners.model.FrameworkMethod method)
finished in class org.junit.rules.TestWatchmanpublic org.openqa.selenium.remote.RemoteWebDriver getDriver()
public String getServerURL()
protected String getTestClassName(org.junit.runners.model.FrameworkMethod method)
protected void logOnServer(String message)
public void runBeforeAfters()
public void setDriver(org.openqa.selenium.remote.RemoteWebDriver driver)
public void setServerURL(String serverURL)
public void starting(org.junit.runners.model.FrameworkMethod method)
starting in class org.junit.rules.TestWatchmanpublic void succeeded(org.junit.runners.model.FrameworkMethod method)
succeeded in class org.junit.rules.TestWatchmanCopyright © 2017 Nuxeo. All rights reserved.