Class PerfTest
- java.lang.Object
-
- com.singularsys.jeptests.system.perf.PerfTest
-
- Direct Known Subclasses:
EvalPerfTest,ParsePerfTest
public class PerfTest extends java.lang.ObjectBase class for a single performance test.- Author:
- Nathan Funk
-
-
Constructor Summary
Constructors Constructor Description PerfTest(java.lang.String name, java.lang.String expression, int nIterations)Sets up the name and number of iterations.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetExpression()intgetIterations()java.lang.StringgetName()voidrun()Runs the test which is timed by the PerfRunner classvoidsetup()
-
-
-
Method Detail
-
setup
public void setup() throws java.lang.Exception- Throws:
java.lang.Exception
-
run
public void run() throws java.lang.ExceptionRuns 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()
-
-