net.thucydides.junit.internals
Class StepsAnnotatedField
java.lang.Object
net.thucydides.junit.internals.StepsAnnotatedField
public class StepsAnnotatedField
- extends Object
Used to identify ScenarioSteps fields that need to be instantiated.
- Author:
- johnsmart
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StepsAnnotatedField
protected StepsAnnotatedField(Field field)
findMandatoryAnnotatedFields
public static List<StepsAnnotatedField> findMandatoryAnnotatedFields(Class<?> clazz)
- Find the first field in the class annotated with the Managed annotation.
findOptionalAnnotatedFields
public static List<StepsAnnotatedField> findOptionalAnnotatedFields(Class<?> clazz)
- Find the first field in the class annotated with the Managed annotation.
setValue
public void setValue(Object testCase,
ScenarioSteps steps)
getFieldClass
public Class<? extends ScenarioSteps> getFieldClass()
Copyright © 2011 Wakaleo Consulting. All Rights Reserved.