|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.taskdefs.optional.junit.PlainJUnitResultFormatter org.codehaus.groovy.grails.test.report.junit.PlainFormatter
public class PlainFormatter extends PlainJUnitResultFormatter
Sanitises the stack traces generated by tests.
Field Summary | |
---|---|
protected java.io.File |
file
|
protected java.lang.String |
name
|
protected java.lang.String |
systemError
|
protected java.lang.String |
systemOutput
|
Constructor Summary | |
PlainFormatter(java.lang.String name, java.io.File file)
|
Method Summary | |
---|---|
void
|
addError(Test test, java.lang.Throwable throwable)
|
void
|
addFailure(Test test, java.lang.Throwable throwable)
|
void
|
endTestSuite(JUnitTest suite)
|
void
|
setOutput(java.io.OutputStream out)
|
void
|
setSystemError(java.lang.String out)
|
void
|
setSystemOutput(java.lang.String out)
|
protected void
|
writeToFile(java.io.File f, java.lang.String text)
|
Field Detail |
---|
protected java.io.File file
protected java.lang.String name
protected java.lang.String systemError
protected java.lang.String systemOutput
Constructor Detail |
---|
public PlainFormatter(java.lang.String name, java.io.File file)
Method Detail |
---|
@Override public void addError(Test test, java.lang.Throwable throwable)
@Override public void addFailure(Test test, java.lang.Throwable throwable)
@Override public void endTestSuite(JUnitTest suite)
@Override public void setOutput(java.io.OutputStream out)
@Override public void setSystemError(java.lang.String out)
@Override public void setSystemOutput(java.lang.String out)
protected void writeToFile(java.io.File f, java.lang.String text)
Groovy Documentation