org.benchy
Interface BenchmarkDriver

All Known Implementing Classes:
AbstractBenchmarkDriver

public interface BenchmarkDriver

Contains the unparametrized algorithm you want to benchmark. All the variable parameters are stored in the TestCase. It could be that the same driver is used in different to benchmark different aspects of the algorithm.

It looks a lot like a basic unit testcase with the familiar lifecyle methods. For a more convenient implementation to extend from, look at the AbstractBenchmarkDriver.

Author:
Peter Veentjer.

Method Summary
 void postRun(TestCaseResult caseResult)
          Is executed after the run.
 void preRun(TestCase testCase)
          Is executed before the run.
 void run()
           
 

Method Detail

preRun

void preRun(TestCase testCase)
Is executed before the run.

Parameters:
testCase -

run

void run()

postRun

void postRun(TestCaseResult caseResult)
Is executed after the run.

Parameters:
caseResult -


Copyright © 2008-2010 Multiverse. All Rights Reserved.