org.spockframework.runtime
Class SpecRunHistory

java.lang.Object
  extended by org.spockframework.runtime.SpecRunHistory
All Implemented Interfaces:
java.lang.Comparable<SpecRunHistory>

public class SpecRunHistory
extends java.lang.Object
implements java.lang.Comparable<SpecRunHistory>


Constructor Summary
SpecRunHistory(java.lang.String specName)
           
 
Method Summary
 void collectFeatureData(FeatureInfo feature, long duration, boolean failed)
           
 void collectSpecData(SpecInfo spec, long duration)
           
 int compareTo(SpecRunHistory other)
           
 java.lang.String getSpecName()
           
 void loadFromDisk()
           
 void saveToDisk()
           
 void sortFeatures(SpecInfo spec)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpecRunHistory

public SpecRunHistory(java.lang.String specName)
Method Detail

getSpecName

public java.lang.String getSpecName()

loadFromDisk

public void loadFromDisk()
                  throws java.io.IOException
Throws:
java.io.IOException

saveToDisk

public void saveToDisk()
                throws java.io.IOException
Throws:
java.io.IOException

sortFeatures

public void sortFeatures(SpecInfo spec)

compareTo

public int compareTo(SpecRunHistory other)
Specified by:
compareTo in interface java.lang.Comparable<SpecRunHistory>

collectFeatureData

public void collectFeatureData(FeatureInfo feature,
                               long duration,
                               boolean failed)

collectSpecData

public void collectSpecData(SpecInfo spec,
                            long duration)


Copyright © 2013. All rights reserved