]
Aslak Knutsen closed ARQ-70.
----------------------------
Alpha-2 published
Support Method argument injection
---------------------------------
Key: ARQ-70
URL:
https://jira.jboss.org/browse/ARQ-70
Project: Arquillian
Issue Type: Feature Request
Components: Runtime Enricher SPI
Reporter: Aslak Knutsen
Assignee: Aslak Knutsen
Fix For: 1.0.0.Alpha2
TestEnrichers should be extended to support method argument injection.
{code}
@Test
public void shouldBeAbleToInjectArguments(@Resource, @EJB, MyCDIBean) throws Exception
{
}
{code}
e.g:
{code}
public interface TestEnricher
{
/**
* Extension point to add features to the test method arguments.
*
* IE. Argument injection
*
* @param method
* @return Object[] that match the Field[] indexes. Return null at a specific index
value if it can't be handeled.
*/
Object[] resolve(Method method);
}
{code}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: