java.lang.Comparable<FailureRecorder.TestInfos>
public static class FailureRecorder.TestInfos extends java.lang.Object implements java.lang.Comparable<FailureRecorder.TestInfos>
Constructor | Description |
---|---|
TestInfos(junit.framework.Test test) |
This constructor extracts the needed information from the given test.
|
Modifier and Type | Method | Description |
---|---|---|
int |
compareTo(FailureRecorder.TestInfos other) |
The SortedMap needs comparable elements.
|
boolean |
equals(java.lang.Object obj) |
|
int |
hashCode() |
|
java.lang.String |
toString() |
This String-Representation can directly be used for instantiation of
the JUnit testcase.
|
public TestInfos(junit.framework.Test test)
test
- Test to analyzepublic java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
,
FailureRecorder.createSuiteMethod()
public int compareTo(FailureRecorder.TestInfos other)
compareTo
in interface java.lang.Comparable<FailureRecorder.TestInfos>
other
- the object to compare to.Comparable.compareTo(T)
,
SortedSet.comparator()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object