|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.test.ui.AbstractTest
public abstract class AbstractTest
To be extended by all Test Classes. Allows to start/stop the Web Driver and get access to it.
| Field Summary | |
|---|---|
BrowserTestRule |
browserRule
Used for ignoring tests that use IgnoreBrowser and
IgnoreBrowsers annotations. |
protected static PersistentTestContext |
context
|
TestDebugger |
testDebugger
Generates debugging information on test failure. |
org.junit.rules.TestName |
testName
The object used to access the name of the current test. |
| Constructor Summary | |
|---|---|
AbstractTest()
|
|
| Method Summary | |
|---|---|
protected static org.openqa.selenium.WebDriver |
getDriver()
|
protected String |
getTestClassName()
|
protected String |
getTestMethodName()
|
protected static TestUtils |
getUtil()
|
static void |
init()
|
static void |
setContext(PersistentTestContext context)
Used so that AllTests can set the persistent test context. |
static void |
shutdown()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final org.junit.rules.TestName testName
public BrowserTestRule browserRule
IgnoreBrowser and
IgnoreBrowsers annotations.
public TestDebugger testDebugger
protected static PersistentTestContext context
| Constructor Detail |
|---|
public AbstractTest()
| Method Detail |
|---|
public static void setContext(PersistentTestContext context)
public static void init()
throws Exception
Exception
public static void shutdown()
throws Exception
Exceptionprotected String getTestMethodName()
protected String getTestClassName()
protected static org.openqa.selenium.WebDriver getDriver()
protected static TestUtils getUtil()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||