public class BeforeRules extends BeforeTestLifecycleEvent
Constructor and Description |
---|
BeforeRules(Object testInstance,
org.junit.runners.model.TestClass testClassInstance,
Object statementInstance,
Method testMethod,
LifecycleMethodExecutor executor) |
Modifier and Type | Method and Description |
---|---|
Object |
getStatementInstance() |
org.junit.runners.model.TestClass |
getTestClassInstance() |
getExecutor
getTestInstance, getTestMethod
getTestClass
public BeforeRules(Object testInstance, org.junit.runners.model.TestClass testClassInstance, Object statementInstance, 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 invokedpublic Object getStatementInstance()
public org.junit.runners.model.TestClass getTestClassInstance()
Copyright © 2017 JBoss by Red Hat. All rights reserved.