Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tools.ant.taskdefs.optional.junit
Class FailureRecorder.TestInfos

    java.lang.Object
      org.apache.tools.ant.taskdefs.optional.junit.FailureRecorder.TestInfos

All Implemented Interfaces:
  java.lang.Comparable

Enclosing class:
  FailureRecorder

    public class FailureRecorder.TestInfos

extends java.lang.Object
implements java.lang.Comparable

TestInfos holds information about a given test for later use.

Constructor Summary
`FailureRecorder.TestInfos(junit.framework.Test test)` This constructor extracts the needed information from the given test.

Method Summary
`int` | `compareTo(java.lang.Object other)` The SortedMap needs comparable elements.
`java.lang.String` | `toString()` This String-Representation can directly be used for instantiation of the JUnit testcase.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### FailureRecorder.TestInfos

    public FailureRecorder.TestInfos(junit.framework.Test test)

  This constructor extracts the needed information from the given test.

  Parameters:
    `test` - Test to analyze

Method Detail

### toString

    public java.lang.String toString()

  This String-Representation can directly be used for instantiation of the JUnit testcase.

  Overrides:
    `toString` in class `java.lang.Object`
  Returns:
    the string representation.
  See Also:
    `Object.toString()`, `FailureRecorder.createSuiteMethod()`

### compareTo

    public int compareTo(java.lang.Object other)

  The SortedMap needs comparable elements.

  Specified by:
    `compareTo` in interface `java.lang.Comparable`
  Parameters:
    `other` - the object to compare to.
  Returns:
    the result of the comparison.
  See Also:
    `java.lang.Comparable#compareTo(T)`, `SortedSet.comparator()`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD