You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "John D. Ament (JIRA)" <ji...@apache.org> on 2013/12/29 17:28:50 UTC

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

John D. Ament created TOMEE-1101:
------------------------------------

             Summary: 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


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)