Class FailureRecorder.TestInfos
- java.lang.Object
- 
- org.apache.tools.ant.taskdefs.optional.junit.FailureRecorder.TestInfos
 
- 
- All Implemented Interfaces:
- java.lang.Comparable<FailureRecorder.TestInfos>
 - Enclosing class:
- FailureRecorder
 
 public static class FailureRecorder.TestInfos extends java.lang.Object implements java.lang.Comparable<FailureRecorder.TestInfos> TestInfos holds information about a given test for later use.
- 
- 
Constructor SummaryConstructors Constructor Description TestInfos(junit.framework.Test test)This constructor extracts the needed information from the given test.
 - 
Method SummaryModifier and Type Method Description intcompareTo(FailureRecorder.TestInfos other)The SortedMap needs comparable elements.booleanequals(java.lang.Object obj)inthashCode()java.lang.StringtoString()This String-Representation can directly be used for instantiation of the JUnit testcase.
 
- 
- 
- 
Method Detail- 
toStringpublic java.lang.String toString() This String-Representation can directly be used for instantiation of the JUnit testcase.- Overrides:
- toStringin class- java.lang.Object
- Returns:
- the string representation.
- See Also:
- Object.toString(),- FailureRecorder.createSuiteMethod()
 
 - 
compareTopublic int compareTo(FailureRecorder.TestInfos other) The SortedMap needs comparable elements.- Specified by:
- compareToin interface- java.lang.Comparable<FailureRecorder.TestInfos>
- Parameters:
- other- the object to compare to.
- Returns:
- the result of the comparison.
- See Also:
- Comparable.compareTo(T),- SortedSet.comparator()
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 
- 
 
-