public abstract class AbstractPerformanceTest extends java.lang.Object implements PerformanceTest
| Constructor and Description |
|---|
AbstractPerformanceTest() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
cleanup()
Cleanup after test if needed.
|
java.util.Map<java.lang.String,java.lang.Object> |
computeScores(int seconds)
Compute scores and returns as map.
|
abstract void |
executeBlock()
Executes block of code to be tested.
|
abstract java.lang.String |
getTestName()
Gets the test name.
|
abstract void |
prepare()
Prepare test if needed.
|
public abstract void executeBlock()
throws java.lang.Exception
PerformanceTestexecuteBlock in interface PerformanceTestjava.lang.Exceptionpublic abstract java.lang.String getTestName()
PerformanceTestgetTestName in interface PerformanceTestpublic abstract void cleanup()
PerformanceTestcleanup in interface PerformanceTestpublic abstract void prepare()
throws java.lang.Exception
PerformanceTestprepare in interface PerformanceTestjava.lang.Exception - the exceptionpublic java.util.Map<java.lang.String,java.lang.Object> computeScores(int seconds)
PerformanceTestcomputeScores in interface PerformanceTestseconds - the secondsCopyright © 2018 SAP SE. All Rights Reserved.