Package org.apache.ant.antunit
-
Interface Summary Interface Description AntUnitExecutionNotifier Provides methods that allow the AntUnitScriptRunner to notify the test progress.AntUnitListener A test listener for <antunit>.ProjectFactory Provides project instances for AntUnit execution. -
Class Summary Class Description AntUnit Run every target whose name starts with "test" in a set of build files.AntUnit.Reference AntUnit.ReferenceSet Defines a collection of inheritedreferences
, with an optional nestedMapper
that maps them to new reference IDs in the target project.AntUnitScriptRunner Run antunit tests suites.AssertTask Exits the active build, giving an additional message if the single nested condition fails or if there is no condition at all.ExpectFailureTask Expects the nested tasks to throw a BuildException and optinally asserts the message of that exception.LogCapturer Captures log messages generated during an antunit task run and makes them available to tasks via a project reference.LogContains A condition that tests the log output of the current project for a given string.LogContent Exposes AntUnit log content as a (read-only) Resource.ResourceExists A condition that tests whether a given resource exists. -
Exception Summary Exception Description AssertionFailedException Specialized BuildException thrown by the AssertTask task.