Class PerfTest
- java.lang.Object
-
- com.singularsys.jeptests.system.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
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.String
getExpression()
int
getIterations()
java.lang.String
getName()
void
run()
Runs the test which is timed by the PerfRunner classvoid
setup()
-
-
-
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()
-
-