Package org.apache.ant.antunit.listener
Class FailureAntUnitListener.TestInfos
- java.lang.Object
-
- org.apache.ant.antunit.listener.FailureAntUnitListener.TestInfos
-
- All Implemented Interfaces:
java.lang.Comparable
- Enclosing class:
- FailureAntUnitListener
public class FailureAntUnitListener.TestInfos extends java.lang.Object implements java.lang.Comparable
Class for collecting needed information about failed tests.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.String
buildfile
The buildfile of the project.(package private) java.lang.String
errorMessage
The error message which was shown.(package private) boolean
projectHasSetup
Does the project has a setUp target?(package private) boolean
projectHasTearDown
Does the project has a tearDown target?(package private) java.lang.String
target
The called target.
-
Constructor Summary
Constructors Constructor Description TestInfos(org.apache.tools.ant.Project project, java.lang.String buildfile, java.lang.String target, java.lang.String errorMessage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(java.lang.Object other)
java.lang.String
toString()
Creates an <ant> call according to the stored information.
-
-
-
Field Detail
-
projectHasSetup
boolean projectHasSetup
Does the project has a setUp target?
-
projectHasTearDown
boolean projectHasTearDown
Does the project has a tearDown target?
-
target
java.lang.String target
The called target.
-
buildfile
java.lang.String buildfile
The buildfile of the project.
-
errorMessage
java.lang.String errorMessage
The error message which was shown.
-
-
Method Detail
-
toString
public java.lang.String toString()
Creates an <ant> call according to the stored information.- Overrides:
toString
in classjava.lang.Object
- See Also:
Object.toString()
-
compareTo
public int compareTo(java.lang.Object other)
- Specified by:
compareTo
in interfacejava.lang.Comparable
-
-