Class PerfTestResultRecorderRule
- java.lang.Object
-
- org.junit.rules.TestWatcher
-
- org.camunda.bpm.qa.performance.engine.junit.PerfTestResultRecorderRule
-
- All Implemented Interfaces:
org.junit.rules.TestRule
public class PerfTestResultRecorderRule extends org.junit.rules.TestWatcher
JUnit rule recording the performance test result- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.logging.Logger
LOG
protected PerfTestResults
results
-
Constructor Summary
Constructors Constructor Description PerfTestResultRecorderRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
formatResultFileDirName()
protected java.lang.String
formatResultFileName(org.junit.runner.Description description)
void
setResults(PerfTestResults results)
protected void
succeeded(org.junit.runner.Description description)
-
-
-
Field Detail
-
LOG
public static final java.util.logging.Logger LOG
-
results
protected PerfTestResults results
-
-
Method Detail
-
succeeded
protected void succeeded(org.junit.runner.Description description)
- Overrides:
succeeded
in classorg.junit.rules.TestWatcher
-
formatResultFileDirName
protected java.lang.String formatResultFileDirName()
-
formatResultFileName
protected java.lang.String formatResultFileName(org.junit.runner.Description description)
-
setResults
public void setResults(PerfTestResults results)
-
-