|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.rendering.test.cts.TestData
public class TestData
Contains Test Data for a single test.
| Field Summary | |
|---|---|
TestDataConfiguration |
configuration
Configuration data for the test. |
String |
ctsData
The CTS test data (either input or output, depending on whether the syntax data is input or outut; it's the opposite of the syntax data). |
String |
ctsExtension
CTS file extension. |
boolean |
isSyntaxInputTest
True if this test is an input test, ie the syntax data represents an input, false otherwise. |
String |
prefix
The location where this tests is found in the CTS classpath (eg "cts/simple/bold/bold1"). |
String |
syntaxData
The syntax data (either input or output). |
String |
syntaxExtension
Test Syntax file extension. |
String |
syntaxId
The syntax being tested and in which the syntax data is written in (eg "xwiki/2.0"). |
| Constructor Summary | |
|---|---|
TestData()
|
|
| Method Summary | |
|---|---|
String |
computeTestName()
Compute the test name, used to display in the JUnit Test Runner and for ignoring tests. |
boolean |
equals(Object object)
|
int |
hashCode()
|
boolean |
isFailingTest()
|
boolean |
isNotApplicable()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public String syntaxId
public String prefix
public String syntaxExtension
public String ctsExtension
public boolean isSyntaxInputTest
public String ctsData
public String syntaxData
public TestDataConfiguration configuration
| Constructor Detail |
|---|
public TestData()
| Method Detail |
|---|
public String toString()
toString in class Objectpublic boolean isNotApplicable()
public boolean isFailingTest()
public String computeTestName()
public boolean equals(Object object)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||