org.spockframework.runtime
Class SpecRunHistory
java.lang.Object
org.spockframework.runtime.SpecRunHistory
- All Implemented Interfaces:
- java.lang.Comparable<SpecRunHistory>
public class SpecRunHistory
- extends java.lang.Object
- implements java.lang.Comparable<SpecRunHistory>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpecRunHistory
public SpecRunHistory(java.lang.String specName)
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