
public abstract class AbstractSearchContextEnricher extends Object implements SearchContextTestEnricher
SearchContextTestEnricher.| Modifier and Type | Field and Description |
|---|---|
protected static String |
NEW_LINE
Constant containing new line separator dependent on the environment.
|
| Constructor and Description |
|---|
AbstractSearchContextEnricher() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
enrichRecursively(org.openqa.selenium.SearchContext searchContext,
Object target)
Performs further enrichment on the given instance with the given search context.
|
protected Class<?> |
getActualType(Field field,
Object testCase)
It loads a real type of a field defined by parametric type.
|
protected Class<?> |
getListType(Field listField)
It loads the concrete type of list items.
|
static Collection<SearchContextTestEnricher> |
getSortedSearchContextEnrichers(org.jboss.arquillian.core.api.Instance<org.jboss.arquillian.core.spi.ServiceLoader> serviceLoader) |
protected static <T> T |
instantiate(Class<T> type,
Object... args)
Initialize given class.
|
protected static void |
setValue(Field field,
Object target,
Object value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitenrich, getPrecedenceprotected static final String NEW_LINE
protected static void enrichRecursively(org.openqa.selenium.SearchContext searchContext,
Object target)
TestEnricher and SearchContextTestEnricher are invoked.searchContext - target - public static Collection<SearchContextTestEnricher> getSortedSearchContextEnrichers(org.jboss.arquillian.core.api.Instance<org.jboss.arquillian.core.spi.ServiceLoader> serviceLoader)
protected final Class<?> getActualType(Field field, Object testCase)
field - testCase - protected final Class<?> getListType(Field listField) throws ClassNotFoundException
listField - ClassNotFoundExceptionprotected static <T> T instantiate(Class<T> type, Object... args) throws NoSuchMethodException, SecurityException, InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException
clazz - to be initializedIllegalAccessExceptionInstantiationExceptionInvocationTargetExceptionIllegalArgumentExceptionSecurityExceptionNoSuchMethodExceptionCopyright © 2013 JBoss by Red Hat. All Rights Reserved.