juju.reattore.perfcap.tester.impl
Class CSVTester

java.lang.Object
  |
  +--juju.reattore.perfcap.tester.impl.CSVTester
All Implemented Interfaces:
Tester

public class CSVTester
extends java.lang.Object
implements Tester

'Tests' using previously recorded data. This tester can import data previously recorded using the CSVReporter including de-serialising the recorded results.


Constructor Summary
CSVTester()
           
 
Method Summary
 Results go()
          Run the test and return the results.
 void setPerfCap(PerfCap top)
          Attach to the top level runner.
 void setSource(java.lang.String name)
          The file to read the data from.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSVTester

public CSVTester()
Method Detail

setSource

public void setSource(java.lang.String name)
               throws java.lang.Exception
The file to read the data from.

Parameters:
name - The file name.
Throws:
java.lang.Exception - if the file can't be written to.

setPerfCap

public void setPerfCap(PerfCap top)
Attach to the top level runner.

Parameters:
top - The top level.

go

public Results go()
           throws java.lang.Exception
Description copied from interface: Tester
Run the test and return the results.

Specified by:
go in interface Tester
Returns:
The results of the test.
Throws:
java.lang.Exception - on fatal error.
See Also:
Tester


Copyright © 2002-2003 Michael Hope. All Rights Reserved.