Class DecoratorWithNonPassivationCapableDependenciesTest

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

    @SpecVersion(spec="cdi",
                 version="2.0")
    public class DecoratorWithNonPassivationCapableDependenciesTest
    extends AbstractTest
    Verifies that a decorator that is passivation capable while having non-passivation capable dependencies is allowed provided it does not decorate a bean declaring passivation scope.

    This test was originally part of Weld test suite.

    Author:
    Jozef Hartinger, Martin Kouba
    • Constructor Detail

      • DecoratorWithNonPassivationCapableDependenciesTest

        public DecoratorWithNonPassivationCapableDependenciesTest()
    • Method Detail

      • createTestArchive

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

        @SpecAssertion(section="passivation_validation",
                       id="l")
        public void testDeploymentValid()