Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.singularsys.jeptests.perf
Class PerfTest

    java.lang.Object
      com.singularsys.jeptests.perf.PerfTest

Direct Known Subclasses:
  EvalPerfTest, ParsePerfTest

    public class PerfTest

extends java.lang.Object

Base class for a single performance test.

Author:
  Nathan Funk

Constructor Summary
`PerfTest(java.lang.String name, java.lang.String expression, int nIterations)` Sets up the name and number of iterations.

Method Summary
`java.lang.String` | `getExpression()`
`int` | `getIterations()`
`java.lang.String` | `getName()`
`void` | `run()` Runs the test which is timed by the PerfRunner class
`void` | `setup()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PerfTest

    public PerfTest(java.lang.String name,
                    java.lang.String expression,
                    int nIterations)

  Sets up the name and number of iterations.

  Parameters:
    `name` -
    `nIterations` -

Method Detail

### setup

    public void setup()
               throws java.lang.Exception

  Throws:
    `java.lang.Exception`

### run

    public void run()
             throws java.lang.Exception

  Runs the test which is timed by the PerfRunner class

  Throws:
    `java.lang.Exception`

### getName

    public java.lang.String getName()

### getExpression

    public java.lang.String getExpression()

### getIterations

    public int getIterations()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008 Singular Systems http://www.singularsys.com/jep