public class CDIInjectionEnricher extends Object implements TestEnricher
| Constructor and Description |
|---|
CDIInjectionEnricher() |
| Modifier and Type | Method and Description |
|---|---|
void |
enrich(Object testCase)
Extension point to add features to the a Test class instance.
IE. |
javax.enterprise.inject.spi.BeanManager |
getBeanManager() |
javax.enterprise.context.spi.CreationalContext<Object> |
getCreationalContext() |
protected void |
injectClass(Object testCase) |
protected void |
injectNonContextualInstance(javax.enterprise.inject.spi.BeanManager manager,
Object instance) |
Object[] |
resolve(Method method)
Extension point to add features to the test method arguments.
IE. |
public javax.enterprise.inject.spi.BeanManager getBeanManager()
public javax.enterprise.context.spi.CreationalContext<Object> getCreationalContext()
public void enrich(Object testCase)
TestEnricherenrich in interface TestEnrichertestCase - The test case instancepublic Object[] resolve(Method method)
TestEnricherTestEnricher.resolve in interface TestEnricherprotected void injectClass(Object testCase)
protected void injectNonContextualInstance(javax.enterprise.inject.spi.BeanManager manager,
Object instance)
Copyright © 2023 JBoss by Red Hat. All rights reserved.