net.sf.jbenchmark
Class FixedDelay

java.lang.Object
  extended bynet.sf.jbenchmark.TestFeature
      extended bynet.sf.jbenchmark.Test
          extended bynet.sf.jbenchmark.FixedDelay
All Implemented Interfaces:
java.lang.Runnable

public class FixedDelay
extends Test

A fixed delay.

Version:
$Id: FixedDelay.java,v 1.2 2004/02/05 09:25:23 dcotterill Exp $
Author:
Adam Murdoch

Constructor Summary
FixedDelay()
           
 
Method Summary
protected  TestResult doRun()
          Executes the test.
 void setDelay(int delay)
          Sets the delay.
 
Methods inherited from class net.sf.jbenchmark.Test
addAssertion, addFeature, addResource, doCleanup, doInitialise, finish, getFeatureContext, getResource, run, setContext
 
Methods inherited from class net.sf.jbenchmark.TestFeature
getContext, getName, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FixedDelay

public FixedDelay()
Method Detail

setDelay

public void setDelay(int delay)
Sets the delay.


doRun

protected TestResult doRun()
                    throws java.lang.Exception
Executes the test.

Specified by:
doRun in class Test
Throws:
java.lang.Exception