org.benchy
Class AbstractBenchmarkDriver

java.lang.Object
  extended by org.benchy.AbstractBenchmarkDriver
All Implemented Interfaces:
BenchmarkDriver

public abstract class AbstractBenchmarkDriver
extends Object
implements BenchmarkDriver

A convenience BenchmarkDriver implementation that doesn't force one to implement optional methods. Only the BenchmarkDriver.run() method needs to be implemented.

Author:
Peter Veentjer.

Constructor Summary
AbstractBenchmarkDriver()
           
 
Method Summary
 void postRun(TestCaseResult caseResult)
          Is executed after the run.
 void preRun(TestCase testCase)
          Is executed before the run.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.benchy.BenchmarkDriver
run
 

Constructor Detail

AbstractBenchmarkDriver

public AbstractBenchmarkDriver()
Method Detail

preRun

public void preRun(TestCase testCase)
Description copied from interface: BenchmarkDriver
Is executed before the run.

Specified by:
preRun in interface BenchmarkDriver

postRun

public void postRun(TestCaseResult caseResult)
Description copied from interface: BenchmarkDriver
Is executed after the run.

Specified by:
postRun in interface BenchmarkDriver


Copyright © 2008-2010 Multiverse. All Rights Reserved.