public class PersistentTestContext extends Object
Constructor and Description |
---|
PersistentTestContext()
Starts an XWiki instance if not already started.
|
PersistentTestContext(List<XWikiExecutor> executors)
Don't start an XWiki instance, instead use an existing started instance.
|
PersistentTestContext(List<XWikiExecutor> executors,
XWikiWebDriver driver) |
PersistentTestContext(PersistentTestContext toClone) |
Modifier and Type | Method and Description |
---|---|
XWikiWebDriver |
getDriver() |
List<XWikiExecutor> |
getExecutors() |
Map<String,Object> |
getProperties() |
PersistentTestContext |
getUnstoppable()
Get a clone of this context which cannot be stopped by calling shutdown.
|
TestUtils |
getUtil() |
void |
setDriver(XWikiWebDriver driver) |
void |
shutdown() |
void |
start() |
public PersistentTestContext() throws Exception
Exception
public PersistentTestContext(List<XWikiExecutor> executors)
public PersistentTestContext(List<XWikiExecutor> executors, XWikiWebDriver driver)
public PersistentTestContext(PersistentTestContext toClone)
public XWikiWebDriver getDriver()
public void setDriver(XWikiWebDriver driver)
public List<XWikiExecutor> getExecutors()
public TestUtils getUtil()
public PersistentTestContext getUnstoppable()
Copyright © 2004–2021 XWiki. All rights reserved.