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.ComparableClass for collecting needed information about failed tests.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.StringbuildfileThe buildfile of the project.(package private) java.lang.StringerrorMessageThe error message which was shown.(package private) booleanprojectHasSetupDoes the project has a setUp target?(package private) booleanprojectHasTearDownDoes the project has a tearDown target?(package private) java.lang.StringtargetThe 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 intcompareTo(java.lang.Object other)java.lang.StringtoString()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:
toStringin classjava.lang.Object- See Also:
Object.toString()
-
compareTo
public int compareTo(java.lang.Object other)
- Specified by:
compareToin interfacejava.lang.Comparable
-
-