public interface AntUnitExecutionNotifier
Modifier and Type | Method and Description |
---|---|
void |
fireEndTest(String targetName)
invokes endTest on all registered test listeners.
|
void |
fireError(String targetName,
Throwable t)
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.
|
void fireStartTest(String targetName)
targetName
- the name of the target.void fireFail(String targetName, AssertionFailedException ae)
targetName
- the name of the failed target.ae
- the associated AssertionFailedException.void fireError(String targetName, Throwable t)
targetName
- the name of the failed target.t
- the associated Throwable.void fireEndTest(String targetName)
targetName
- the name of the current target.Copyright © 2022 The Apache Software Foundation. All rights reserved.