public class BeforeRules extends BeforeTestLifecycleEvent
Modifier and Type | Field and Description |
---|---|
private java.lang.Object |
statementInstance |
private org.junit.runners.model.TestClass |
testClassInstance |
Constructor and Description |
---|
BeforeRules(java.lang.Object testInstance,
org.junit.runners.model.TestClass testClassInstance,
java.lang.Object statementInstance,
java.lang.reflect.Method testMethod,
LifecycleMethodExecutor executor) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getStatementInstance() |
org.junit.runners.model.TestClass |
getTestClassInstance() |
getExecutor
getTestInstance, getTestMethod
getTestClass
private java.lang.Object statementInstance
private org.junit.runners.model.TestClass testClassInstance
public BeforeRules(java.lang.Object testInstance, org.junit.runners.model.TestClass testClassInstance, java.lang.Object statementInstance, java.lang.reflect.Method testMethod, LifecycleMethodExecutor executor)
testInstance
- The test case instance being testedtestClassInstance
- The TestClass
instance representing the test casestatementInstance
- The statement that is about to be taken at runtime in the course of running a JUnit test suite.testMethod
- The test method that is about to be executedexecutor
- A call back when the LifecycleMethod represented by this event should be invoked