Class AmbiguousDependencyResolutionTest

  • All Implemented Interfaces:
    org.testng.IHookable, org.testng.ITestNGListener

    @SpecVersion(spec="cdi",
                 version="2.0")
    public class AmbiguousDependencyResolutionTest
    extends AbstractTest
    Author:
    Martin Kouba
    • Constructor Detail

      • AmbiguousDependencyResolutionTest

        public AmbiguousDependencyResolutionTest()
    • Method Detail

      • createTestArchive

        @Deployment
        public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
      • testProducerMethodOnAlternativeIsNotEliminated

        @SpecAssertions(@SpecAssertion(section="unsatisfied_and_ambig_dependencies",id="ca"))
        public void testProducerMethodOnAlternativeIsNotEliminated​(Foo foo)
      • testProducerFieldOnAlternativeIsNotEliminated

        @SpecAssertions(@SpecAssertion(section="unsatisfied_and_ambig_dependencies",id="ca"))
        public void testProducerFieldOnAlternativeIsNotEliminated​(Bar bar)