Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- add(AntUnitListener) - Method in class org.apache.ant.antunit.AntUnit
-
Add a test listener.
- add(Resource) - Method in class org.apache.ant.antunit.ResourceExists
-
The resource to check as nested element.
- add(ResourceCollection) - Method in class org.apache.ant.antunit.AntUnit
-
Add build files to run as tests.
- 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.LogForwarder
- 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.LogForwarder
- addFailure(String, AssertionFailedException) - Method in class org.apache.ant.antunit.listener.PlainAntUnitListener
- addFailure(String, AssertionFailedException) - Method in class org.apache.ant.antunit.listener.XMLAntUnitListener
- addMatchingReferences(Hashtable, Collection) - Method in class org.apache.ant.antunit.AntUnit.Reference
-
Add to
dest
any reference IDs insrc
matching this reference descriptor - addPropertySet(PropertySet) - Method in class org.apache.ant.antunit.AntUnit
-
Add a PropertySet.
- addReference(AntUnit.Reference) - Method in class org.apache.ant.antunit.AntUnit
-
Add an inherited reference.
- addReference(AntUnit.Reference) - Method in class org.apache.ant.antunit.AntUnit.ReferenceSet
- 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
- AntUnit.Reference - Class in org.apache.ant.antunit
- AntUnit.ReferenceSet - Class in org.apache.ant.antunit
-
Defines a collection of inherited
references
, with an optional nestedMapper
that maps them to new reference IDs in the target project. - AntUnitExecutionNotifier - Interface in org.apache.ant.antunit
-
Provides methods that allow the AntUnitScriptRunner to notify the test progress.
- AntUnitListener - Interface in org.apache.ant.antunit
-
A test listener for <antunit>.
- AntUnitLogLevel() - Constructor for class org.apache.ant.antunit.listener.BaseAntUnitListener.AntUnitLogLevel
- AntUnitScriptRunner - Class in org.apache.ant.antunit
-
Run antunit tests suites.
- AntUnitScriptRunner(ProjectFactory) - Constructor for class org.apache.ant.antunit.AntUnitScriptRunner
-
Create a new AntScriptRunner on the given environment.
- AntUnitSuite - Class in org.apache.ant.antunit.junit3
-
A JUnit 3 TestSuite that group a suite of AntUnit targets coming from an ant script.
- AntUnitSuite(File, Class) - Constructor for class org.apache.ant.antunit.junit3.AntUnitSuite
-
Create a JUnit TestSuite that when executed will run the given ant script.
- AntUnitSuiteRunner - Class in org.apache.ant.antunit.junit4
-
JUnit4 Runner to put in a RunWith annotation of the AntUnitSuite when using a JUnit4 runner.
- AntUnitSuiteRunner(Class) - Constructor for class org.apache.ant.antunit.junit4.AntUnitSuiteRunner
- AntUnitTestCase - Class in org.apache.ant.antunit.junit3
-
JUnit TestCase that will executes a single AntUnit target.
- AntUnitTestCase(String) - Constructor for class org.apache.ant.antunit.junit3.AntUnitTestCase
-
Prepare an AntUnitTestCase that will be executed alone.
- AntUnitTestCase(AntUnitSuite, File, String) - Constructor for class org.apache.ant.antunit.junit3.AntUnitTestCase
-
Prepare an AntUnitTestCase that will be executed in a suite.
- AssertionFailedException - Exception Class in org.apache.ant.antunit
-
Specialized BuildException thrown by the AssertTask task.
- AssertionFailedException(String) - Constructor for exception class org.apache.ant.antunit.AssertionFailedException
- AssertionFailedException(String, BuildException) - Constructor for exception class org.apache.ant.antunit.AssertionFailedException
- AssertionFailedException(String, Location) - Constructor for exception class 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 or if there is no condition at all.
- 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
B
- BaseAntUnitListener - Class in org.apache.ant.antunit.listener
-
A test listener for <antunit> modeled aftern the Plain JUnit test listener that is part of Ant.
- BaseAntUnitListener(BaseAntUnitListener.SendLogTo, String) - Constructor for class org.apache.ant.antunit.listener.BaseAntUnitListener
- BaseAntUnitListener.AntUnitLogLevel - Class in org.apache.ant.antunit.listener
- BaseAntUnitListener.LogGrabber - Class in org.apache.ant.antunit.listener
- BaseAntUnitListener.SendLogTo - Class in org.apache.ant.antunit.listener
- BOTH - Static variable in class org.apache.ant.antunit.listener.BaseAntUnitListener.SendLogTo
- BUILD_FILE - Static variable in interface org.apache.ant.antunit.listener.XMLConstants
-
name of the build file.
- buildFinished(BuildEvent) - Method in class org.apache.ant.antunit.listener.BaseAntUnitListener.LogGrabber
- buildFinished(BuildEvent) - Method in class org.apache.ant.antunit.LogCapturer
-
De-register.
- buildStarted(BuildEvent) - Method in class org.apache.ant.antunit.listener.BaseAntUnitListener.LogGrabber
- buildStarted(BuildEvent) - Method in class org.apache.ant.antunit.LogCapturer
-
Empty.
C
- close(OutputStream) - Method in class org.apache.ant.antunit.listener.BaseAntUnitListener
- compareTo(Object) - Method in class org.apache.ant.antunit.listener.FailureAntUnitListener.TestInfos
- copyReferencesInto(Project) - Method in class org.apache.ant.antunit.AntUnit.ReferenceSet
-
Copy all identified references into the target project, applying any name mapping required by a nested mapper element.
- createMapper() - Method in class org.apache.ant.antunit.AntUnit.ReferenceSet
- createProject() - Method in interface org.apache.ant.antunit.ProjectFactory
-
Creates a new project instance and configures it according to the execution context.
- createReferenceSet() - Method in class org.apache.ant.antunit.AntUnit
-
Add a set of inherited references.
D
- DEFAULT_MESSAGE - Static variable in exception class org.apache.ant.antunit.AssertionFailedException
E
- endTest(String) - Method in interface org.apache.ant.antunit.AntUnitListener
-
Invoked after a test target has been executed.
- endTest(String) - Method in class org.apache.ant.antunit.listener.FailureAntUnitListener
-
not in use
- endTest(String) - Method in class org.apache.ant.antunit.listener.LogForwarder
- endTest(String) - Method in class org.apache.ant.antunit.listener.PlainAntUnitListener
- endTest(String) - Method in class org.apache.ant.antunit.listener.XMLAntUnitListener
- endTestSuite(Project, String) - Method in interface org.apache.ant.antunit.AntUnitListener
-
Invoked once per build file, after all targets have been executed.
- endTestSuite(Project, String) - Method in class org.apache.ant.antunit.listener.FailureAntUnitListener
- endTestSuite(Project, String) - Method in class org.apache.ant.antunit.listener.LogForwarder
- endTestSuite(Project, String) - Method in class org.apache.ant.antunit.listener.PlainAntUnitListener
- endTestSuite(Project, String) - Method in class org.apache.ant.antunit.listener.XMLAntUnitListener
- equals(Object) - Method in class org.apache.ant.antunit.LogContent
- ERROR - Static variable in interface org.apache.ant.antunit.listener.XMLConstants
-
the error element
- ERROR_NO_TESTS - Static variable in class org.apache.ant.antunit.AntUnit
-
Message if no tests have been specified.
- ERROR_NON_FILES - Static variable in class org.apache.ant.antunit.AntUnit
-
Message if non-File resources have been specified.
- ERROR_TESTS_FAILED - Static variable in class org.apache.ant.antunit.AntUnit
-
Message to print if an error or failure occured.
- errorCount - Variable in class org.apache.ant.antunit.listener.BaseAntUnitListener
-
keeps track of the numer of executed targets, the failures an errors.
- ErrorTestCase - Class in org.apache.ant.antunit.junit3
-
A TestCase that will just report an error when running.
- ErrorTestCase(BuildException) - Constructor for class org.apache.ant.antunit.junit3.ErrorTestCase
-
Creates a TestCase that will report the Ant BuildException when running.
- eval() - Method in class org.apache.ant.antunit.LogContains
- eval() - Method in class org.apache.ant.antunit.ResourceExists
- execute() - Method in class org.apache.ant.antunit.AntUnit
-
Execute the tests.
- execute() - Method in class org.apache.ant.antunit.AssertTask
- execute() - Method in class org.apache.ant.antunit.ExpectFailureTask
- ExpectFailureTask - Class in org.apache.ant.antunit
-
Expects the nested tasks to throw a BuildException and optinally asserts the message of that exception.
- ExpectFailureTask() - Constructor for class org.apache.ant.antunit.ExpectFailureTask
F
- FAILURE - Static variable in interface org.apache.ant.antunit.listener.XMLConstants
-
the failure element
- FailureAntUnitListener - Class in org.apache.ant.antunit.listener
-
This AntUnitListener creates a new buildfile with a target for each failed test target in the AntUnit run.
- FailureAntUnitListener() - Constructor for class org.apache.ant.antunit.listener.FailureAntUnitListener
-
No-arg constructor.
- FailureAntUnitListener.TestInfos - Class in org.apache.ant.antunit.listener
-
Class for collecting needed information about failed tests.
- failureCount - Variable in class org.apache.ant.antunit.listener.BaseAntUnitListener
-
keeps track of the numer of executed targets, the failures an errors.
- FILE - Static variable in class org.apache.ant.antunit.listener.BaseAntUnitListener.SendLogTo
- filter(Filter) - Method in class org.apache.ant.antunit.junit4.AntUnitSuiteRunner
-
Filterable implementation
- fireEndTest(String) - Method in interface org.apache.ant.antunit.AntUnitExecutionNotifier
-
invokes endTest on all registered test listeners.
- fireError(String, Throwable) - Method in interface org.apache.ant.antunit.AntUnitExecutionNotifier
-
invokes addError on all registered test listeners.
- fireFail(String, AssertionFailedException) - Method in interface org.apache.ant.antunit.AntUnitExecutionNotifier
-
invokes addFailure on all registered test listeners.
- fireStartTest(String) - Method in interface org.apache.ant.antunit.AntUnitExecutionNotifier
-
invokes start on all registered test listeners.
G
- getAntInitialisationException() - Method in class org.apache.ant.antunit.junit3.AntUnitSuite
- getAntScriptError() - Method in class org.apache.ant.antunit.junit3.ErrorTestCase
- getCurrentProject() - Method in class org.apache.ant.antunit.AntUnitScriptRunner
-
Get the project currently in use.
- getCurrentTestProject() - Method in class org.apache.ant.antunit.listener.BaseAntUnitListener
- getDebugLog() - Method in class org.apache.ant.antunit.LogCapturer
-
All messages with
logLevel == Project.MSG_DEBUG
or more severe merging messages into a single line. - getDebugLog(boolean) - Method in class org.apache.ant.antunit.LogCapturer
-
All messages with
logLevel == Project.MSG_DEBUG
or more severe. - getDescription() - Method in class org.apache.ant.antunit.junit4.AntUnitSuiteRunner
-
Runner implementation
- getErrLog() - Method in class org.apache.ant.antunit.LogCapturer
-
All messages with
logLevel == Project.MSG_ERR
merging messages into a single line. - getErrLog(boolean) - Method in class org.apache.ant.antunit.LogCapturer
-
All messages with
logLevel == Project.MSG_ERR
. - getInfoLog() - Method in class org.apache.ant.antunit.LogCapturer
-
All messages with
logLevel == Project.MSG_INFO
or more severe merging messages into a single line. - getInfoLog(boolean) - Method in class org.apache.ant.antunit.LogCapturer
-
All messages with
logLevel == Project.MSG_INFO
or more severe. - getInputStream() - Method in class org.apache.ant.antunit.LogContent
- getLevel() - Method in class org.apache.ant.antunit.listener.BaseAntUnitListener.AntUnitLogLevel
- getLocation(Throwable) - Method in class org.apache.ant.antunit.listener.BaseAntUnitListener
- getName() - Method in class org.apache.ant.antunit.AntUnitScriptRunner
-
Provides the name of the active script.
- getOut(String) - Method in class org.apache.ant.antunit.listener.BaseAntUnitListener
- getRegex() - Method in class org.apache.ant.antunit.AntUnit.Reference
- getTarget() - Method in class org.apache.ant.antunit.junit3.AntUnitTestCase
-
Get the AntUnit test target name.
- getTestTartgets() - Method in class org.apache.ant.antunit.AntUnitScriptRunner
- getToDir() - Method in class org.apache.ant.antunit.listener.BaseAntUnitListener
-
Directory to write reports to.
- getValues() - Method in class org.apache.ant.antunit.listener.BaseAntUnitListener.AntUnitLogLevel
- getValues() - Method in class org.apache.ant.antunit.listener.BaseAntUnitListener.SendLogTo
- getVerboseLog() - Method in class org.apache.ant.antunit.LogCapturer
-
All messages with
logLevel == Project.MSG_VERBOSE
or more severe merging messages into a single line. - getVerboseLog(boolean) - Method in class org.apache.ant.antunit.LogCapturer
-
All messages with
logLevel == Project.MSG_VERBOSE
or more severe. - getWarnLog() - Method in class org.apache.ant.antunit.LogCapturer
-
All messages with
logLevel == Project.MSG_WARN
or more severe merging messages into a single line. - getWarnLog(boolean) - Method in class org.apache.ant.antunit.LogCapturer
-
All messages with
logLevel == Project.MSG_WARN
or more severe.
H
- handleErrorFlush(String) - Method in class org.apache.ant.antunit.AntUnit
-
Redirect error flush to new project instance.
- handleErrorOutput(String) - Method in class org.apache.ant.antunit.AntUnit
-
Redirect error output to new project instance.
- handleFlush(String) - Method in class org.apache.ant.antunit.AntUnit
-
Redirect flush to new project instance.
- handleInput(byte[], int, int) - Method in class org.apache.ant.antunit.AntUnit
-
Redirect input to new project instance.
- handleOutput(String) - Method in class org.apache.ant.antunit.AntUnit
-
Redirect output to new project instance.
- hasAntInitError() - Method in class org.apache.ant.antunit.junit3.AntUnitSuite
- HOSTNAME - Static variable in interface org.apache.ant.antunit.listener.XMLConstants
-
name of host running the tests
I
- isExists() - Method in class org.apache.ant.antunit.LogContent
L
- LogCapturer - Class in org.apache.ant.antunit
-
Captures log messages generated during an antunit task run and makes them available to tasks via a project reference.
- LogCapturer(Project) - Constructor for class org.apache.ant.antunit.LogCapturer
- LogContains - Class in org.apache.ant.antunit
-
A condition that tests the log output of the current project for a given string.
- LogContains() - Constructor for class org.apache.ant.antunit.LogContains
- LogContent - Class in org.apache.ant.antunit
-
Exposes AntUnit log content as a (read-only) Resource.
- LogContent() - Constructor for class org.apache.ant.antunit.LogContent
-
Create a new LogContent resource.
- LogContent(Project, LogLevel) - Constructor for class org.apache.ant.antunit.LogContent
-
Create a new LogContent resource, specifying Project and log level.
- LogContent(Project, LogLevel, boolean) - Constructor for class org.apache.ant.antunit.LogContent
-
Create a new LogContent resource, specifying Project and log level.
- LogForwarder - Class in org.apache.ant.antunit.listener
-
A test listener for <antunit> who's whole purpose is to forward log output from the project under test to the project executing the <antunit> task.
- LogForwarder() - Constructor for class org.apache.ant.antunit.listener.LogForwarder
- LogGrabber() - Constructor for class org.apache.ant.antunit.listener.BaseAntUnitListener.LogGrabber
M
- messageLogged(BuildEvent) - Method in class org.apache.ant.antunit.listener.BaseAntUnitListener.LogGrabber
- messageLogged(BuildEvent) - Method in class org.apache.ant.antunit.listener.BaseAntUnitListener
-
Gets messages from the project running the test target if their level is at least of the level specified with
setLogLevel
. - messageLogged(BuildEvent) - Method in class org.apache.ant.antunit.listener.PlainAntUnitListener
- messageLogged(BuildEvent) - Method in class org.apache.ant.antunit.listener.XMLAntUnitListener
- messageLogged(BuildEvent) - Method in class org.apache.ant.antunit.LogCapturer
-
Record the message.
N
- NAME - Static variable in class org.apache.ant.antunit.junit3.ErrorTestCase
-
The name we use for the error test case ('warning')
- nf - Static variable in class org.apache.ant.antunit.listener.BaseAntUnitListener
-
Formatter for timings.
- NONE - Static variable in class org.apache.ant.antunit.listener.BaseAntUnitListener.AntUnitLogLevel
- normalize(String) - Method in class org.apache.ant.antunit.listener.BaseAntUnitListener
-
Turns the build file name into something that vaguely looks like a Java classname.
O
- org.apache.ant.antunit - package org.apache.ant.antunit
- org.apache.ant.antunit.junit3 - package org.apache.ant.antunit.junit3
-
EXPERIMENTAL adapter to run AntUnit tests from within a JUnit3 test runner.
- org.apache.ant.antunit.junit4 - package org.apache.ant.antunit.junit4
-
EXPERIMENTAL adapter to run AntUnit tests from within a JUnit4 test runner.
- org.apache.ant.antunit.listener - package org.apache.ant.antunit.listener
P
- PlainAntUnitListener - Class in org.apache.ant.antunit.listener
-
A test listener for <antunit> modelled after the Plain JUnit test listener that is part of Ant.
- PlainAntUnitListener() - Constructor for class org.apache.ant.antunit.listener.PlainAntUnitListener
- ProjectFactory - Interface in org.apache.ant.antunit
-
Provides project instances for AntUnit execution.
- PROPERTIES - Static variable in interface org.apache.ant.antunit.listener.XMLConstants
-
the properties element
- PROPERTY - Static variable in interface org.apache.ant.antunit.listener.XMLConstants
-
the property element
R
- Reference() - Constructor for class org.apache.ant.antunit.AntUnit.Reference
- REFERENCE_ID - Static variable in class org.apache.ant.antunit.LogCapturer
- ReferenceSet() - Constructor for class org.apache.ant.antunit.AntUnit.ReferenceSet
- ResourceExists - Class in org.apache.ant.antunit
-
A condition that tests whether a given resource exists.
- ResourceExists() - Constructor for class org.apache.ant.antunit.ResourceExists
- run(TestResult) - Method in class org.apache.ant.antunit.junit3.AntUnitSuite
- run(TestResult) - Method in class org.apache.ant.antunit.junit3.AntUnitTestCase
-
Called by a Junit Runner that want to executes specifically this test target.
- run(RunNotifier) - Method in class org.apache.ant.antunit.junit4.AntUnitSuiteRunner
-
Runner implementation
- runCount - Variable in class org.apache.ant.antunit.listener.BaseAntUnitListener
-
keeps track of the numer of executed targets, the failures an errors.
- runInContainer(List, AntUnitExecutionNotifier) - Method in class org.apache.ant.antunit.junit3.AntUnitSuite
-
Execute the test suite in a 'container' similar to the ant 'container'.
- runSuite(List, AntUnitExecutionNotifier) - Method in class org.apache.ant.antunit.AntUnitScriptRunner
-
Executes the suite.
- runTest() - Method in class org.apache.ant.antunit.junit3.AntUnitTestCase
-
Normally never used because this object delegates all execution to an AntUnitSuite.
- runTest() - Method in class org.apache.ant.antunit.junit3.ErrorTestCase
- runTest(Test, TestResult) - Method in class org.apache.ant.antunit.junit3.AntUnitSuite
S
- SendLogTo() - Constructor for class org.apache.ant.antunit.listener.BaseAntUnitListener.SendLogTo
- SendLogTo(String) - Constructor for class org.apache.ant.antunit.listener.BaseAntUnitListener.SendLogTo
- 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
- setCurrentTestProject(Project) - Method in class org.apache.ant.antunit.listener.LogForwarder
- 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.
- setMapper(String, String, String) - Method in class org.apache.ant.antunit.AntUnit.ReferenceSet
-
Configure a single mapper to translate reference IDs.
- setMergeLines(boolean) - Method in class org.apache.ant.antunit.LogContains
-
Whether to merge messages into a single line or split them into multiple lines.
- setMergeLines(boolean) - Method in class org.apache.ant.antunit.LogContent
-
Whether to merge messages into a single line or split them into multiple lines.
- 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
- setParentTask(Task) - Method in class org.apache.ant.antunit.listener.LogForwarder
- setRefid(String) - Method in class org.apache.ant.antunit.ResourceExists
-
The resource to check as a refid.
- setRegex(String) - Method in class org.apache.ant.antunit.AntUnit.Reference
-
Set a regular expression to match references.
- setResource(Resource) - Method in class org.apache.ant.antunit.ResourceExists
-
The resource to check as attribute.
- 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.
- sort(Sorter) - Method in class org.apache.ant.antunit.junit4.AntUnitSuiteRunner
-
Sortable implementation
- 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.LogForwarder
- 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.LogForwarder
- 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
T
- targetFinished(BuildEvent) - Method in class org.apache.ant.antunit.listener.BaseAntUnitListener.LogGrabber
- targetFinished(BuildEvent) - Method in class org.apache.ant.antunit.LogCapturer
-
Empty.
- targetStarted(BuildEvent) - Method in class org.apache.ant.antunit.listener.BaseAntUnitListener.LogGrabber
- targetStarted(BuildEvent) - Method in class org.apache.ant.antunit.LogCapturer
-
Empty.
- taskFinished(BuildEvent) - Method in class org.apache.ant.antunit.listener.BaseAntUnitListener.LogGrabber
- taskFinished(BuildEvent) - Method in class org.apache.ant.antunit.LogCapturer
-
Empty.
- taskStarted(BuildEvent) - Method in class org.apache.ant.antunit.listener.BaseAntUnitListener.LogGrabber
- taskStarted(BuildEvent) - Method in class org.apache.ant.antunit.LogCapturer
-
Empty.
- TESTCASE - Static variable in interface org.apache.ant.antunit.listener.XMLConstants
-
the testcase element
- TestInfos(Project, String, String, String) - Constructor for class org.apache.ant.antunit.listener.FailureAntUnitListener.TestInfos
- testStart - Variable in class org.apache.ant.antunit.listener.BaseAntUnitListener
-
time for the starts of the current test-suite and test-target.
- TESTSUITE - Static variable in interface org.apache.ant.antunit.listener.XMLConstants
-
the testsuite element
- TESTSUITES - Static variable in interface org.apache.ant.antunit.listener.XMLConstants
-
the testsuites element for the aggregate document
- TIMESTAMP - Static variable in interface org.apache.ant.antunit.listener.XMLConstants
-
timestamp of test cases
- toString() - Method in class org.apache.ant.antunit.listener.FailureAntUnitListener.TestInfos
-
Creates an <ant> call according to the stored information.
X
- XMLAntUnitListener - Class in org.apache.ant.antunit.listener
-
A test listener for <antunit> modelled after the XML JUnit test listener that is part of Ant.
- XMLAntUnitListener() - Constructor for class org.apache.ant.antunit.listener.XMLAntUnitListener
- XMLConstants - Interface in org.apache.ant.antunit.listener
-
Interface groups XML constants.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form