public abstract class AbstractUnitilsSteps
extends org.jbehave.core.steps.BeforeOrAfterStep
| Constructor and Description |
|---|
AbstractUnitilsSteps(org.jbehave.core.steps.StepCollector.Stage stage,
Method method,
Method testMethod,
org.jbehave.core.annotations.AfterScenario.Outcome outcome,
org.jbehave.core.steps.StepCreator stepCreator) |
AbstractUnitilsSteps(org.jbehave.core.steps.StepCollector.Stage stage,
Method method,
Method testMethod,
org.jbehave.core.annotations.AfterScenario.Outcome outcome,
org.jbehave.core.steps.StepCreator stepCreator,
org.jbehave.core.steps.InjectableStepsFactory injectableStepsFactory,
Class<?> type) |
| Modifier and Type | Method and Description |
|---|---|
org.jbehave.core.steps.Step |
createStepUponOutcome(org.jbehave.core.model.Meta storyAndScenarioMeta) |
org.jbehave.core.steps.Step |
createStepWith(org.jbehave.core.model.Meta meta) |
Class<?> |
getClzzStep() |
protected abstract Object[] |
getParametersMethod() |
org.jbehave.core.steps.InjectableStepsFactory |
getStepsFactory() |
org.unitils.core.TestListener |
getTestlistener()
The
Unitils testlistener |
Method |
getTestMethod() |
protected Object |
getTestObject()
This method gets the testobject from the stepsfactory.
|
void |
invokeUnitilsMethod() |
void |
setTestMethod(Method testMethod) |
public AbstractUnitilsSteps(org.jbehave.core.steps.StepCollector.Stage stage,
Method method,
Method testMethod,
org.jbehave.core.annotations.AfterScenario.Outcome outcome,
org.jbehave.core.steps.StepCreator stepCreator,
org.jbehave.core.steps.InjectableStepsFactory injectableStepsFactory,
Class<?> type)
stage - method - testMethod - outcome - stepCreator - injectableStepsFactory - type - public AbstractUnitilsSteps(org.jbehave.core.steps.StepCollector.Stage stage,
Method method,
Method testMethod,
org.jbehave.core.annotations.AfterScenario.Outcome outcome,
org.jbehave.core.steps.StepCreator stepCreator)
stage - method - testMethod - outcome - stepCreator - public org.unitils.core.TestListener getTestlistener()
Unitils testlistenerTestListenerprotected Object getTestObject()
Objectpublic org.jbehave.core.steps.Step createStepWith(org.jbehave.core.model.Meta meta)
createStepWith in class org.jbehave.core.steps.BeforeOrAfterStepBeforeOrAfterStep.createStepWith(org.jbehave.core.model.Meta)public org.jbehave.core.steps.Step createStepUponOutcome(org.jbehave.core.model.Meta storyAndScenarioMeta)
createStepUponOutcome in class org.jbehave.core.steps.BeforeOrAfterStepBeforeOrAfterStep.createStepUponOutcome(org.jbehave.core.model.Meta)public org.jbehave.core.steps.InjectableStepsFactory getStepsFactory()
public Class<?> getClzzStep()
public void invokeUnitilsMethod()
throws IllegalAccessException,
IllegalArgumentException,
InvocationTargetException
protected abstract Object[] getParametersMethod()
public Method getTestMethod()
public void setTestMethod(Method testMethod)
testMethod - the testMethod to setCopyright © 2014. All Rights Reserved.