org.apache.maven.plugin.surefire.runorder
Class RunEntryStatisticsMap

java.lang.Object
  extended by org.apache.maven.plugin.surefire.runorder.RunEntryStatisticsMap

public class RunEntryStatisticsMap
extends Object

Author:
Kristian Rosenvold

Constructor Summary
RunEntryStatisticsMap()
           
RunEntryStatisticsMap(Map<String,RunEntryStatistics> runEntryStatistics)
           
 
Method Summary
 void add(RunEntryStatistics item)
           
 RunEntryStatistics createNextGeneration(ReportEntry reportEntry)
           
 RunEntryStatistics createNextGenerationFailure(ReportEntry reportEntry)
           
 RunEntryStatistics findOrCreate(ReportEntry reportEntry)
           
static RunEntryStatisticsMap fromFile(File file)
           
 Map getPriorities(Comparator<Priority> priorityComparator)
           
 List<Class> getPrioritizedTestsByFailureFirst(List testsToRun)
           
 List<Class> getPrioritizedTestsClassRunTime(List testsToRun, int threadCount)
           
 void serialize(File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RunEntryStatisticsMap

public RunEntryStatisticsMap(Map<String,RunEntryStatistics> runEntryStatistics)

RunEntryStatisticsMap

public RunEntryStatisticsMap()
Method Detail

fromFile

public static RunEntryStatisticsMap fromFile(File file)

serialize

public void serialize(File file)
               throws FileNotFoundException
Throws:
FileNotFoundException

findOrCreate

public RunEntryStatistics findOrCreate(ReportEntry reportEntry)

createNextGeneration

public RunEntryStatistics createNextGeneration(ReportEntry reportEntry)

createNextGenerationFailure

public RunEntryStatistics createNextGenerationFailure(ReportEntry reportEntry)

add

public void add(RunEntryStatistics item)

getPrioritizedTestsClassRunTime

public List<Class> getPrioritizedTestsClassRunTime(List testsToRun,
                                                   int threadCount)

getPrioritizedTestsByFailureFirst

public List<Class> getPrioritizedTestsByFailureFirst(List testsToRun)

getPriorities

public Map getPriorities(Comparator<Priority> priorityComparator)


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.