public final class GaleniumDriverParameterContext extends Object
ParameterContext base class.| Modifier and Type | Method and Description |
|---|---|
static org.junit.jupiter.api.extension.ParameterContext |
driverParamContext(Object target,
String methodName)
driverParamContext.
|
<A extends Annotation> |
findAnnotation(Class<A> arg0) |
<A extends Annotation> |
findRepeatableAnnotations(Class<A> arg0) |
int |
getIndex() |
Parameter |
getParameter() |
Optional<Object> |
getTarget() |
boolean |
isAnnotated(Class<? extends Annotation> arg0) |
String |
toString() |
public static org.junit.jupiter.api.extension.ParameterContext driverParamContext(Object target, String methodName)
driverParamContext.
target - target objectmethodName - name of method to inject driver topublic Parameter getParameter()
getParameter in interface org.junit.jupiter.api.extension.ParameterContextpublic int getIndex()
getIndex in interface org.junit.jupiter.api.extension.ParameterContextpublic Optional<Object> getTarget()
getTarget in interface org.junit.jupiter.api.extension.ParameterContextpublic boolean isAnnotated(Class<? extends Annotation> arg0)
isAnnotated in interface org.junit.jupiter.api.extension.ParameterContextpublic <A extends Annotation> Optional<A> findAnnotation(Class<A> arg0)
findAnnotation in interface org.junit.jupiter.api.extension.ParameterContextpublic <A extends Annotation> List<A> findRepeatableAnnotations(Class<A> arg0)
findRepeatableAnnotations in interface org.junit.jupiter.api.extension.ParameterContextCopyright © 2017–2022 wcm.io QA. All rights reserved.