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