public class AntXmlFormatter extends Object implements junit.framework.TestListener, Closeable
TestListener
that bridges to JUnitResultFormatter
.Constructor and Description |
---|
AntXmlFormatter(Class<? extends org.apache.tools.ant.taskdefs.optional.junit.JUnitResultFormatter> formatter,
File dir) |
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public void addError(junit.framework.Test test, Throwable t)
addError
in interface junit.framework.TestListener
public void addFailure(junit.framework.Test test, junit.framework.AssertionFailedError t)
addFailure
in interface junit.framework.TestListener
public void startTest(junit.framework.Test test)
startTest
in interface junit.framework.TestListener
public void endTest(junit.framework.Test test)
endTest
in interface junit.framework.TestListener
Copyright © 2012. All Rights Reserved.