Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

juju.reattore.perfcap.tester.impl
Class CSVTester  view CSVTester download CSVTester.java

java.lang.Object
  extended byjuju.reattore.perfcap.tester.impl.CSVTester
All Implemented Interfaces:
juju.reattore.perfcap.tester.Tester

public class CSVTester
extends java.lang.Object
implements juju.reattore.perfcap.tester.Tester

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


Nested Class Summary
private static class CSVTester.Var
           
 
Field Summary
private  java.util.Iterator it
           
private static org.apache.commons.logging.Log log
           
private  java.util.List res
           
private  java.util.List vars
           
 
Constructor Summary
CSVTester()
           
 
Method Summary
private  juju.reattore.perfcap.tester.Results decode(java.lang.String val)
           
 juju.reattore.perfcap.tester.Results go()
          Run the test and return the results.
private  void load(java.lang.String name)
           
 void setPerfCap(juju.reattore.perfcap.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
 

Field Detail

log

private static org.apache.commons.logging.Log log

vars

private java.util.List vars

res

private java.util.List res

it

private java.util.Iterator it
Constructor Detail

CSVTester

public CSVTester()
Method Detail

decode

private juju.reattore.perfcap.tester.Results decode(java.lang.String val)
                                             throws java.lang.Exception

load

private void load(java.lang.String name)
           throws java.lang.Exception

setSource

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


setPerfCap

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


go

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

Specified by:
go in interface juju.reattore.perfcap.tester.Tester