Class BeforeBeanDiscoveryTest

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

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

      • BeforeBeanDiscoveryTest

        public BeforeBeanDiscoveryTest()
    • Method Detail

      • createTestArchive

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

        @SpecAssertion(section="before_bean_discovery",id="a") @SpecAssertion(section="initialization",id="b") @SpecAssertion(section="initialization",id="c")
        public void testBeforeBeanDiscoveryEventIsCalled()
      • testAddingScopeType

        @SpecAssertion(section="before_bean_discovery",
                       id="ac")
        public void testAddingScopeType()
      • testAddingQualifierByClass

        @SpecAssertion(section="before_bean_discovery",
                       id="ab")
        public void testAddingQualifierByClass()
      • testAddingQualifierByAnnotatedType

        @SpecAssertion(section="before_bean_discovery",
                       id="aba")
        public void testAddingQualifierByAnnotatedType()
      • testAddAnnotatedType

        @SpecAssertion(section="before_bean_discovery",id="af") @SpecAssertion(section="type_discovery_steps",id="d")
        public void testAddAnnotatedType()
      • testAddAnnotatedTypeWithConfigurator

        @SpecAssertions(@SpecAssertion(section="before_bean_discovery",id="b"))
        public void testAddAnnotatedTypeWithConfigurator()