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 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 priorityComparator)
           
 List getPrioritizedTestsByFailureFirst(List testsToRun)
           
 List 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 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 getPrioritizedTestsClassRunTime(List testsToRun,
                                            int threadCount)

getPrioritizedTestsByFailureFirst

public List getPrioritizedTestsByFailureFirst(List testsToRun)

getPriorities

public Map getPriorities(Comparator priorityComparator)


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