public class DroneTestEnricher extends Object implements org.jboss.arquillian.test.spi.TestEnricher
Drone.
Handles enrichment for method arguments as well.
This enricher is indirectly responsible for firing chain of events that transform a callable into real instance by
firing BeforeDroneInstantiated event.| Constructor and Description |
|---|
DroneTestEnricher() |
| Modifier and Type | Method and Description |
|---|---|
void |
enrich(Object testCase) |
void |
enrichTestClass(Class<?> testClass,
Object testCase,
boolean onlyStatic)
Enriches the given test class with a drone instance and a context path.
|
Object[] |
resolve(Method method) |
public void enrich(Object testCase)
enrich in interface org.jboss.arquillian.test.spi.TestEnricherpublic Object[] resolve(Method method)
resolve in interface org.jboss.arquillian.test.spi.TestEnricherpublic void enrichTestClass(Class<?> testClass, Object testCase, boolean onlyStatic)
Drone.testClass - Test class to be enrichedtestCase - Instance of the test case (usually the class is same as the testClass)onlyStatic - If the drone instance should be injected only into static fieldsCopyright © 2017 JBoss by Red Hat. All rights reserved.