- add(ResourceCollection) - Method in class org.apache.ant.antunit.AntUnit
-
Add build files to run as tests.
- add(AntUnitListener) - Method in class org.apache.ant.antunit.AntUnit
-
Add a test listener.
- addError(String, Throwable) - Method in interface org.apache.ant.antunit.AntUnitListener
-
Invoked if any error other than a failed assertion occured
during execution.
- addError(String, Throwable) - Method in class org.apache.ant.antunit.listener.BaseAntUnitListener
-
- addError(String, Throwable) - Method in class org.apache.ant.antunit.listener.FailureAntUnitListener
-
- addError(String, Throwable) - Method in class org.apache.ant.antunit.listener.PlainAntUnitListener
-
- addError(String, Throwable) - Method in class org.apache.ant.antunit.listener.XMLAntUnitListener
-
- addFailure(String, AssertionFailedException) - Method in interface org.apache.ant.antunit.AntUnitListener
-
Invoked if an assert tasked caused an error during execution.
- addFailure(String, AssertionFailedException) - Method in class org.apache.ant.antunit.listener.BaseAntUnitListener
-
- addFailure(String, AssertionFailedException) - Method in class org.apache.ant.antunit.listener.FailureAntUnitListener
-
- addFailure(String, AssertionFailedException) - Method in class org.apache.ant.antunit.listener.PlainAntUnitListener
-
- addFailure(String, AssertionFailedException) - Method in class org.apache.ant.antunit.listener.XMLAntUnitListener
-
- addPropertySet(PropertySet) - Method in class org.apache.ant.antunit.AntUnit
-
Add a PropertySet.
- ANT_LOG - Static variable in class org.apache.ant.antunit.listener.BaseAntUnitListener.SendLogTo
-
- AntUnit - Class in org.apache.ant.antunit
-
Run every target whose name starts with "test" in a set of build files.
- AntUnit() - Constructor for class org.apache.ant.antunit.AntUnit
-
- AntUnitListener - Interface in org.apache.ant.antunit
-
A test listener for <antunit>.
- AssertionFailedException - Exception in org.apache.ant.antunit
-
Specialized BuildException thrown by the AssertTask task.
- AssertionFailedException(String) - Constructor for exception org.apache.ant.antunit.AssertionFailedException
-
- AssertionFailedException(String, Location) - Constructor for exception org.apache.ant.antunit.AssertionFailedException
-
- AssertTask - Class in org.apache.ant.antunit
-
Exits the active build, giving an additional message if the single
nested condition fails.
- AssertTask() - Constructor for class org.apache.ant.antunit.AssertTask
-
- ATTR_CLASSNAME - Static variable in interface org.apache.ant.antunit.listener.XMLConstants
-
classname attribute for testcase elements
- ATTR_COLUMN - Static variable in interface org.apache.ant.antunit.listener.XMLConstants
-
columnnumber attribute
- ATTR_ERRORS - Static variable in interface org.apache.ant.antunit.listener.XMLConstants
-
errors attribute for testsuite elements
- ATTR_FAILURES - Static variable in interface org.apache.ant.antunit.listener.XMLConstants
-
failures attribute for testsuite elements
- ATTR_ID - Static variable in interface org.apache.ant.antunit.listener.XMLConstants
-
id attribute
- ATTR_LINE - Static variable in interface org.apache.ant.antunit.listener.XMLConstants
-
linenumber attribute
- ATTR_MESSAGE - Static variable in interface org.apache.ant.antunit.listener.XMLConstants
-
message attribute for failure elements
- ATTR_NAME - Static variable in interface org.apache.ant.antunit.listener.XMLConstants
-
name attribute for property, testcase and testsuite elements
- ATTR_PACKAGE - Static variable in interface org.apache.ant.antunit.listener.XMLConstants
-
package attribute for the aggregate document
- ATTR_TESTS - Static variable in interface org.apache.ant.antunit.listener.XMLConstants
-
tests attribute for testsuite elements
- ATTR_TIME - Static variable in interface org.apache.ant.antunit.listener.XMLConstants
-
time attribute for testcase and testsuite elements
- ATTR_TYPE - Static variable in interface org.apache.ant.antunit.listener.XMLConstants
-
type attribute for failure and error elements
- ATTR_VALUE - Static variable in interface org.apache.ant.antunit.listener.XMLConstants
-
value attribute for property elements
- setCurrentTestProject(Project) - Method in interface org.apache.ant.antunit.AntUnitListener
-
Set a reference to the Project instance currently executing the
test target.
- setCurrentTestProject(Project) - Method in class org.apache.ant.antunit.listener.BaseAntUnitListener
-
- setErrorProperty(String) - Method in class org.apache.ant.antunit.AntUnit
-
Set the name of a property to set if an error or failure occurs.
- setExpectedMessage(String) - Method in class org.apache.ant.antunit.ExpectFailureTask
-
The exception message to expect.
- setFailOnError(boolean) - Method in class org.apache.ant.antunit.AntUnit
-
Set whether to stop testing if an error or failure occurs?
- setFile(File) - Method in class org.apache.ant.antunit.listener.FailureAntUnitListener
-
- setLevel(Echo.EchoLevel) - Method in class org.apache.ant.antunit.LogContains
-
minimal log priority to consult.
- setLevel(LogLevel) - Method in class org.apache.ant.antunit.LogContent
-
Set the desired log level.
- setLogLevel(BaseAntUnitListener.AntUnitLogLevel) - Method in class org.apache.ant.antunit.listener.BaseAntUnitListener
-
Sets the minimum level a log message must be logged at to be
included in the output.
- setMessage(String) - Method in class org.apache.ant.antunit.AssertTask
-
Message to use when the assertion fails.
- setMessage(String) - Method in class org.apache.ant.antunit.ExpectFailureTask
-
The message to use in the AssertionFailedException if the nested
tasks fail to raise the "correct" exception.
- setParentTask(Task) - Method in interface org.apache.ant.antunit.AntUnitListener
-
Set a reference to the AntUnit task executing the tests, this
provides access to the containing project, target or Ant's
logging system.
- setParentTask(Task) - Method in class org.apache.ant.antunit.listener.BaseAntUnitListener
-
- setSendLogTo(BaseAntUnitListener.SendLogTo) - Method in class org.apache.ant.antunit.listener.BaseAntUnitListener
-
Where to send the test report.
- setSendLogTo(BaseAntUnitListener.SendLogTo) - Method in class org.apache.ant.antunit.listener.PlainAntUnitListener
-
Where to send the test report.
- setText(String) - Method in class org.apache.ant.antunit.LogContains
-
Test the log shall contain.
- setToDir(File) - Method in class org.apache.ant.antunit.listener.BaseAntUnitListener
-
Sets the directory to write test reports to.
- start - Variable in class org.apache.ant.antunit.listener.BaseAntUnitListener
-
time for the starts of the current test-suite and test-target.
- startTest(String) - Method in interface org.apache.ant.antunit.AntUnitListener
-
Invoked before a test target gets executed.
- startTest(String) - Method in class org.apache.ant.antunit.listener.BaseAntUnitListener
-
- startTest(String) - Method in class org.apache.ant.antunit.listener.PlainAntUnitListener
-
- startTest(String) - Method in class org.apache.ant.antunit.listener.XMLAntUnitListener
-
- startTestSuite(Project, String) - Method in interface org.apache.ant.antunit.AntUnitListener
-
Invoked once per build file, before any targets get executed.
- startTestSuite(Project, String) - Method in class org.apache.ant.antunit.listener.BaseAntUnitListener
-
- startTestSuite(Project, String) - Method in class org.apache.ant.antunit.listener.FailureAntUnitListener
-
- startTestSuite(Project, String) - Method in class org.apache.ant.antunit.listener.PlainAntUnitListener
-
- startTestSuite(Project, String) - Method in class org.apache.ant.antunit.listener.XMLAntUnitListener
-
- SYSTEM_ERR - Static variable in interface org.apache.ant.antunit.listener.XMLConstants
-
the system-err element
- SYSTEM_OUT - Static variable in interface org.apache.ant.antunit.listener.XMLConstants
-
the system-out element