|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectnet.thucydides.core.steps.StepAnnotations
public final class StepAnnotations
Utility class used to inject fields into a test case.
| Method Summary | |
|---|---|
static void |
injectAnnotatedPagesObjectInto(Object testCase,
Pages pages)
Instantiates the @ManagedPages-annotated Pages instance using current WebDriver. |
static void |
injectNestedScenarioStepsInto(Object scenarioSteps,
StepFactory stepFactory,
Class<?> scenarioStepsClass)
Instantiates the step scenario fields in a test case. |
static void |
injectOptionalAnnotatedPagesObjectInto(Object testCase,
Pages pages)
Instantiates the @ManagedPages-annotated Pages instance using current WebDriver, if the field is present. |
static void |
injectScenarioStepsInto(Object testCase,
StepFactory stepFactory)
Instantiates the step scenario fields in a test case. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void injectScenarioStepsInto(Object testCase,
StepFactory stepFactory)
public static void injectNestedScenarioStepsInto(Object scenarioSteps,
StepFactory stepFactory,
Class<?> scenarioStepsClass)
public static void injectAnnotatedPagesObjectInto(Object testCase,
Pages pages)
public static void injectOptionalAnnotatedPagesObjectInto(Object testCase,
Pages pages)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||