XWikiExecutorSuite
instead@Deprecated public class XWikiTestSetup extends junit.extensions.TestSetup
<code> public static Test suite() { // Create some TestSuite object here return new XWikiTestSetup(suite); } </code>
Note: We could start XWiki using Java directly but we're using a script so that we can test the exact same script used by XWiki users who download the standalone distribution.
Constructor and Description |
---|
XWikiTestSetup(junit.framework.Test test)
Deprecated.
|
XWikiTestSetup(junit.framework.Test test,
int nb)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected XWikiExecutor |
getXWikiExecutor()
Deprecated.
|
protected XWikiExecutor |
getXWikiExecutor(int index)
Deprecated.
|
protected void |
setUp()
Deprecated.
|
protected void |
tearDown()
Deprecated.
|
basicRun, countTestCases, getTest, toString
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
public XWikiTestSetup(junit.framework.Test test) throws Exception
Exception
protected void setUp() throws Exception
setUp
in class junit.extensions.TestSetup
Exception
protected void tearDown() throws Exception
tearDown
in class junit.extensions.TestSetup
Exception
protected XWikiExecutor getXWikiExecutor()
protected XWikiExecutor getXWikiExecutor(int index)
Copyright © 2004–2021 XWiki. All rights reserved.