Package org.apache.ant.antunit
Interface AntUnitExecutionNotifier
- All Known Implementing Classes:
JUnitNotificationAdapter
public interface AntUnitExecutionNotifier
Provides methods that allow the AntUnitScriptRunner to notify the test progress.
- Since:
- 1.2
-
Method Summary
Modifier and TypeMethodDescriptionvoid
fireEndTest
(String targetName) invokes endTest on all registered test listeners.void
invokes addError on all registered test listeners.void
fireFail
(String targetName, AssertionFailedException ae) invokes addFailure on all registered test listeners.void
fireStartTest
(String targetName) invokes start on all registered test listeners.
-
Method Details
-
fireStartTest
invokes start on all registered test listeners.- Parameters:
targetName
- the name of the target.
-
fireFail
invokes addFailure on all registered test listeners.- Parameters:
targetName
- the name of the failed target.ae
- the associated AssertionFailedException.
-
fireError
invokes addError on all registered test listeners.- Parameters:
targetName
- the name of the failed target.t
- the associated Throwable.
-
fireEndTest
invokes endTest on all registered test listeners.- Parameters:
targetName
- the name of the current target.
-