You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2013/12/29 22:06:50 UTC

[jira] [Resolved] (TOMEE-1101) Test methods are not getting enriched when run via Arquillian

     [ https://issues.apache.org/jira/browse/TOMEE-1101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Romain Manni-Bucau resolved TOMEE-1101.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.6.1

> Test methods are not getting enriched when run via Arquillian
> -------------------------------------------------------------
>
>                 Key: TOMEE-1101
>                 URL: https://issues.apache.org/jira/browse/TOMEE-1101
>             Project: TomEE
>          Issue Type: Bug
>          Components: TomEE Arquillian Adapters
>    Affects Versions: 1.6.0
>            Reporter: John D. Ament
>            Assignee: Romain Manni-Bucau
>             Fix For: 1.6.1
>
>
> While running some DS tests, found that test methods are not getting enriched as expected.
> The doc is here (from Arquillian): https://docs.jboss.org/author/display/ARQ/Dependency+injection
> The format of it seems to imply container is somewhat responsible for the enrichment (hence creating the ticket here rather than in the Arquillian JIRA).  
> An example test is this:     @Test
>     public void testSuccessfulAmbiguousLookup(@ExternalResource(storage = ClasspathStorage.class,
>             location="META-INF/beans.xml") List<InputStream> inputStreams)
>     {
>         Assert.assertTrue(inputStreams.size() > 1); //the count is different on as7 compared to the standalone setup
>     }
> Which seems to not be triggering the CDI producer.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)