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