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.ParameterContext
public int getIndex()
getIndex
in interface org.junit.jupiter.api.extension.ParameterContext
public Optional<Object> getTarget()
getTarget
in interface org.junit.jupiter.api.extension.ParameterContext
public boolean isAnnotated(Class<? extends Annotation> arg0)
isAnnotated
in interface org.junit.jupiter.api.extension.ParameterContext
public <A extends Annotation> Optional<A> findAnnotation(Class<A> arg0)
findAnnotation
in interface org.junit.jupiter.api.extension.ParameterContext
public <A extends Annotation> List<A> findRepeatableAnnotations(Class<A> arg0)
findRepeatableAnnotations
in interface org.junit.jupiter.api.extension.ParameterContext
Copyright © 2017–2022 wcm.io QA. All rights reserved.