com.sun.istack.test
Class AntXmlFormatter
java.lang.Object
com.sun.istack.test.AntXmlFormatter
- All Implemented Interfaces:
- Closeable, junit.framework.TestListener
public class AntXmlFormatter
- extends Object
- implements junit.framework.TestListener, Closeable
TestListener
that bridges to JUnitResultFormatter
.
- Author:
- Kohsuke Kawaguchi
Constructor Summary |
AntXmlFormatter(Class<? extends org.apache.tools.ant.taskdefs.optional.junit.JUnitResultFormatter> formatter,
File dir)
|
Method Summary |
void |
addError(junit.framework.Test test,
Throwable t)
|
void |
addFailure(junit.framework.Test test,
junit.framework.AssertionFailedError t)
|
void |
close()
|
void |
endTest(junit.framework.Test test)
|
void |
startTest(junit.framework.Test test)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AntXmlFormatter
public AntXmlFormatter(Class<? extends org.apache.tools.ant.taskdefs.optional.junit.JUnitResultFormatter> formatter,
File dir)
close
public void close()
- Specified by:
close
in interface Closeable
addError
public void addError(junit.framework.Test test,
Throwable t)
- Specified by:
addError
in interface junit.framework.TestListener
addFailure
public void addFailure(junit.framework.Test test,
junit.framework.AssertionFailedError t)
- Specified by:
addFailure
in interface junit.framework.TestListener
startTest
public void startTest(junit.framework.Test test)
- Specified by:
startTest
in interface junit.framework.TestListener
endTest
public void endTest(junit.framework.Test test)
- Specified by:
endTest
in interface junit.framework.TestListener
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.