Class BuiltinMetadataBeanTest

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

    @SpecVersion(spec="cdi",
                 version="2.0")
    public class BuiltinMetadataBeanTest
    extends AbstractTest

    This test was originally part of Weld test suite.

    Note that we also test that all built-in beans are passivation capable dependencies - if validation of passivation capable beans and dependencies fails test the deployment (and thus all test methods) will fail.

    Author:
    Jozef Hartinger, Martin Kouba
    • Constructor Detail

      • BuiltinMetadataBeanTest

        public BuiltinMetadataBeanTest()
    • Method Detail

      • createTestArchive

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

        @SpecAssertion(section="bean_metadata",id="a") @SpecAssertion(section="bean_metadata",id="f")
        public void testBeanMetadata()
      • testProducerMethodMetadata

        @SpecAssertion(section="bean_metadata",id="a") @SpecAssertion(section="bean_metadata",id="f")
        public void testProducerMethodMetadata()
      • testInterceptorMetadata

        @SpecAssertion(section="bean_metadata",id="b") @SpecAssertion(section="bean_metadata",id="d") @SpecAssertion(section="bean_metadata",id="f")
        public void testInterceptorMetadata()
      • testDecoratorMetadata

        @SpecAssertion(section="bean_metadata",id="c") @SpecAssertion(section="bean_metadata",id="e") @SpecAssertion(section="bean_metadata",id="f")
        public void testDecoratorMetadata()