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 Details

    • fireStartTest

      void fireStartTest(String targetName)
      invokes start on all registered test listeners.
      Parameters:
      targetName - the name of the target.
    • fireFail

      void fireFail(String targetName, AssertionFailedException ae)
      invokes addFailure on all registered test listeners.
      Parameters:
      targetName - the name of the failed target.
      ae - the associated AssertionFailedException.
    • fireError

      void fireError(String targetName, Throwable t)
      invokes addError on all registered test listeners.
      Parameters:
      targetName - the name of the failed target.
      t - the associated Throwable.
    • fireEndTest

      void fireEndTest(String targetName)
      invokes endTest on all registered test listeners.
      Parameters:
      targetName - the name of the current target.