[arquillian-issues] [JBoss JIRA] Closed: (ARQ-70) Support Method argument injection

Aslak Knutsen (JIRA) jira-events at lists.jboss.org
Tue May 25 10:10:03 EDT 2010


     [ https://jira.jboss.org/browse/ARQ-70?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the arquillian-issues mailing list