Class RunEntryStatisticsMap
- java.lang.Object
-
- org.apache.maven.surefire.api.runorder.RunEntryStatisticsMap
-
public final class RunEntryStatisticsMap extends Object
- Author:
- Kristian Rosenvold
-
-
Constructor Summary
Constructors Constructor Description RunEntryStatisticsMap()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(RunEntryStatistics item)
RunEntryStatistics
createNextGeneration(ReportEntry reportEntry)
RunEntryStatistics
createNextGenerationFailure(ReportEntry reportEntry)
static RunEntryStatisticsMap
fromFile(File file)
static RunEntryStatisticsMap
fromStream(InputStream fileReader)
List<Class<?>>
getPrioritizedTestsByFailureFirst(List<Class<?>> testsToRun)
List<Class<?>>
getPrioritizedTestsClassRunTime(List<Class<?>> testsToRun, int threadCount)
void
serialize(File statsFile)
-
-
-
Method Detail
-
fromFile
public static RunEntryStatisticsMap fromFile(File file)
-
fromStream
public static RunEntryStatisticsMap fromStream(InputStream fileReader)
-
serialize
public void serialize(File statsFile) throws IOException
- Throws:
IOException
-
createNextGeneration
public RunEntryStatistics createNextGeneration(ReportEntry reportEntry)
-
createNextGenerationFailure
public RunEntryStatistics createNextGenerationFailure(ReportEntry reportEntry)
-
add
public void add(RunEntryStatistics item)
-
getPrioritizedTestsClassRunTime
public List<Class<?>> getPrioritizedTestsClassRunTime(List<Class<?>> testsToRun, int threadCount)
-
-