|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | POINTCUT | FIELD | CONSTRUCTOR | METHOD | DETAIL: FIELD | POINTCUT | CONSTRUCTOR | METHOD |
java.lang.Object | +--org.apache.cactus.server.runner.XMLFormatter
Format the test results in XML.
Fields inherited from interface org.apache.cactus.server.runner.XMLConstants |
ATTR_ERRORS, ATTR_FAILURES, ATTR_MESSAGE, ATTR_NAME, ATTR_TESTS, ATTR_TIME, ATTR_TYPE, ERROR, FAILURE, TESTCASE, TESTSUITE, TESTSUITES |
Constructor Summary | |
XMLFormatter()
|
Method Summary | |
void |
addError(Test theTest,
Throwable theThrowable)
Affected by: LogAspect |
void |
addFailure(Test theTest,
AssertionFailedError theError)
Affected by: LogAspect |
void |
endTest(Test theTest)
Affected by: LogAspect |
String |
getSuiteClassName()
|
String |
getTotalDurationAsString()
|
static String |
replace(String theBaseString,
char theChar,
String theNewString)
Affected by: LogAspect |
void |
setSuiteClassName(String theSuiteClassName)
Affected by: LogAspect |
void |
setTotalDuration(long theDuration)
Affected by: LogAspect |
void |
setXslFileName(String theXslFileName)
Affected by: LogAspect |
void |
startTest(Test theTest)
Affected by: LogAspect |
String |
toXML(TestResult theResult)
Affected by: LogAspect |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XMLFormatter()
Method Detail |
public void addError(Test theTest, Throwable theThrowable)
addError
in interface TestListener
around() in LogAspect
.public void addFailure(Test theTest, AssertionFailedError theError)
addFailure
in interface TestListener
around() in LogAspect
.public void endTest(Test theTest)
endTest
in interface TestListener
around() in LogAspect
.public String getSuiteClassName()
public String getTotalDurationAsString()
public static String replace(String theBaseString, char theChar, String theNewString)
around() in LogAspect
.public void setSuiteClassName(String theSuiteClassName)
around() in LogAspect
.public void setTotalDuration(long theDuration)
around() in LogAspect
.public void setXslFileName(String theXslFileName)
around() in LogAspect
.public void startTest(Test theTest)
startTest
in interface TestListener
around() in LogAspect
.public String toXML(TestResult theResult)
around() in LogAspect
.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTRUCTOR | METHOD | DETAIL: FIELD | CONSTRUCTOR | METHOD |