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() |
getExecutorgetTestInstance, getTestMethodgetTestClasspublic 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 © 2023 JBoss by Red Hat. All rights reserved.