Package org.junit.experimental.max
Class MaxHistory
- java.lang.Object
-
- org.junit.experimental.max.MaxHistory
-
- All Implemented Interfaces:
java.io.Serializable
public class MaxHistory extends java.lang.Object implements java.io.Serializable
Stores a subset of the history of each test:- Last failure timestamp
- Duration of last execution
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MaxHistory
forFolder(java.io.File file)
RunListener
listener()
java.util.Comparator<Description>
testComparator()
-
-
-
Method Detail
-
forFolder
public static MaxHistory forFolder(java.io.File file)
-
listener
public RunListener listener()
- Returns:
- a listener that will update this history based on the test results reported.
-
testComparator
public java.util.Comparator<Description> testComparator()
- Returns:
- a comparator that ranks tests based on the JUnit Max sorting
rules, as described in the
MaxCore
class comment.
-
-