public class LogTestWatchman extends org.junit.rules.TestWatchman
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) |
File |
dumpPageSource(String filename) |
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() |
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) |
File |
takeScreenshot(String filename) |
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.MethodRule
apply
in class org.junit.rules.TestWatchman
public void failed(Throwable e, org.junit.runners.model.FrameworkMethod method)
failed
in class org.junit.rules.TestWatchman
public void finished(org.junit.runners.model.FrameworkMethod method)
finished
in class org.junit.rules.TestWatchman
public org.openqa.selenium.remote.RemoteWebDriver getDriver()
public String getServerURL()
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.TestWatchman
public void succeeded(org.junit.runners.model.FrameworkMethod method)
succeeded
in class org.junit.rules.TestWatchman
Copyright © 2013 Nuxeo SA. All Rights Reserved.