Package com.github.noconnor.junitperf
Class JUnitPerfAsyncRule
- java.lang.Object
-
- com.github.noconnor.junitperf.JUnitPerfRule
-
- com.github.noconnor.junitperf.JUnitPerfAsyncRule
-
- All Implemented Interfaces:
org.junit.rules.TestRule
public class JUnitPerfAsyncRule extends JUnitPerfRule
-
-
Constructor Summary
Constructors Constructor Description JUnitPerfAsyncRule()JUnitPerfAsyncRule(ReportGenerator... reportGenerator)JUnitPerfAsyncRule(StatisticsCalculator statisticsCalculator)JUnitPerfAsyncRule(StatisticsCalculator statisticsCalculator, ReportGenerator... reportGenerator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.junit.runners.model.Statementapply(org.junit.runners.model.Statement base, org.junit.runner.Description description)TestContextnewContext()
-
-
-
Constructor Detail
-
JUnitPerfAsyncRule
public JUnitPerfAsyncRule()
-
JUnitPerfAsyncRule
public JUnitPerfAsyncRule(ReportGenerator... reportGenerator)
-
JUnitPerfAsyncRule
public JUnitPerfAsyncRule(StatisticsCalculator statisticsCalculator)
-
JUnitPerfAsyncRule
public JUnitPerfAsyncRule(StatisticsCalculator statisticsCalculator, ReportGenerator... reportGenerator)
-
-
Method Detail
-
newContext
public TestContext newContext()
-
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)- Specified by:
applyin interfaceorg.junit.rules.TestRule- Overrides:
applyin classJUnitPerfRule
-
-