public class JUnitProgressResultFormatter extends Object implements org.apache.tools.ant.taskdefs.optional.junit.JUnitResultFormatter
JUnitProgressResultFormatter as a formatter allows you to send
test unit messages to the jenkins plugin that will display progress as the
build is running.
Formatter methods are not called for ignored tests.| Constructor and Description |
|---|
JUnitProgressResultFormatter() |
JUnitProgressResultFormatter(IMessageSenderFactory messageSenderFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
addError(junit.framework.Test test,
Throwable t) |
void |
addFailure(junit.framework.Test test,
junit.framework.AssertionFailedError t) |
void |
endTest(junit.framework.Test test) |
void |
endTestSuite(org.apache.tools.ant.taskdefs.optional.junit.JUnitTest suite) |
void |
setOutput(OutputStream out) |
void |
setSystemError(String err) |
void |
setSystemOutput(String out) |
void |
startTest(junit.framework.Test test) |
void |
startTestSuite(org.apache.tools.ant.taskdefs.optional.junit.JUnitTest suite) |
public JUnitProgressResultFormatter()
public JUnitProgressResultFormatter(IMessageSenderFactory messageSenderFactory)
public void startTestSuite(org.apache.tools.ant.taskdefs.optional.junit.JUnitTest suite)
throws org.apache.tools.ant.BuildException
startTestSuite in interface org.apache.tools.ant.taskdefs.optional.junit.JUnitResultFormatterorg.apache.tools.ant.BuildExceptionpublic void endTestSuite(org.apache.tools.ant.taskdefs.optional.junit.JUnitTest suite)
throws org.apache.tools.ant.BuildException
endTestSuite in interface org.apache.tools.ant.taskdefs.optional.junit.JUnitResultFormatterorg.apache.tools.ant.BuildExceptionpublic void startTest(junit.framework.Test test)
startTest in interface junit.framework.TestListenerpublic void addFailure(junit.framework.Test test,
junit.framework.AssertionFailedError t)
addFailure in interface junit.framework.TestListenerpublic void addError(junit.framework.Test test,
Throwable t)
addError in interface junit.framework.TestListenerpublic void endTest(junit.framework.Test test)
endTest in interface junit.framework.TestListenerpublic void setOutput(OutputStream out)
setOutput in interface org.apache.tools.ant.taskdefs.optional.junit.JUnitResultFormattersetOutput in interface org.apache.tools.ant.taskdefs.optional.junit.JUnitTaskMirror.JUnitResultFormatterMirrorpublic void setSystemOutput(String out)
setSystemOutput in interface org.apache.tools.ant.taskdefs.optional.junit.JUnitResultFormatterpublic void setSystemError(String err)
setSystemError in interface org.apache.tools.ant.taskdefs.optional.junit.JUnitResultFormatterCopyright © 2004-2014. All Rights Reserved.