org.databene.contiperf.junit
Class ContiPerfRule
java.lang.Object
org.databene.contiperf.junit.ContiPerfRule
- All Implemented Interfaces:
- org.junit.rules.MethodRule
public class ContiPerfRule
- extends java.lang.Object
- implements org.junit.rules.MethodRule
Implements the JUnit MethodRule interface
for adding performance test features to test calls.
for activating it, add an attribute of this class
to your test class, e.g.:
public class SimpleTest {
- Since:
- 1.0
- Author:
- Volker Bergmann
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
executionLogger
protected ExecutionLogger executionLogger
configuredExecutionLogger
protected final boolean configuredExecutionLogger
ContiPerfRule
public ContiPerfRule()
ContiPerfRule
public ContiPerfRule(ExecutionLogger executionLogger)
ContiPerfRule
public ContiPerfRule(ExecutionLogger executionLogger,
java.lang.Object suite)
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base,
org.junit.runners.model.FrameworkMethod method,
java.lang.Object target)
- Specified by:
apply in interface org.junit.rules.MethodRule
getExecutionLogger
public ExecutionLogger getExecutionLogger()
configurePerfTest
public static ExecutionConfig configurePerfTest(PerfTest annotation,
java.lang.String testId)
Copyright © 2010. All Rights Reserved.