Class StereotypeDefinitionTest

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

    @SpecVersion(spec="cdi",
                 version="2.0")
    public class StereotypeDefinitionTest
    extends AbstractTest
    • Constructor Detail

      • StereotypeDefinitionTest

        public StereotypeDefinitionTest()
    • Method Detail

      • createTestArchive

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

        @SpecAssertion(section="stereotype_default_scope",id="aa") @SpecAssertion(section="declaring_bean_scope",id="c")
        public void testStereotypeWithScopeType()
      • testStereotypeWithoutScopeType

        @SpecAssertion(section="stereotype_default_scope",id="aa") @SpecAssertion(section="default_scope",id="b")
        public void testStereotypeWithoutScopeType()
      • testOneStereotypeAllowed

        @SpecAssertion(section="stereotypes",id="c") @SpecAssertion(section="defining_new_stereotype",id="b") @SpecAssertion(section="specify_stereotype_interceptor_bindings",id="a")
        public void testOneStereotypeAllowed()
      • testMultipleStereotypesAllowed

        @SpecAssertion(section="declaring_stereotypes",id="e") @SpecAssertion(section="stereotypes",id="d")
        public void testMultipleStereotypesAllowed()
      • testExplicitScopeOverridesMergedScopesFromMultipleStereotype

        @SpecAssertion(section="declaring_stereotypes",id="e") @SpecAssertion(section="default_scope",id="e")
        public void testExplicitScopeOverridesMergedScopesFromMultipleStereotype()
      • testStereotypeDeclaredInheritedIsInherited

        @SpecAssertion(section="type_level_inheritance",
                       id="ab")
        public void testStereotypeDeclaredInheritedIsInherited()
                                                        throws Exception
        Throws:
        Exception
      • testStereotypeNotDeclaredInheritedIsNotInherited

        @SpecAssertion(section="type_level_inheritance",
                       id="aba")
        public void testStereotypeNotDeclaredInheritedIsNotInherited()
      • testStereotypeDeclaredInheritedIsIndirectlyInherited

        @SpecAssertion(section="type_level_inheritance",
                       id="ah")
        public void testStereotypeDeclaredInheritedIsIndirectlyInherited()
      • testStereotypeNotDeclaredInheritedIsNotIndirectlyInherited

        @SpecAssertion(section="type_level_inheritance",
                       id="aha")
        public void testStereotypeNotDeclaredInheritedIsNotIndirectlyInherited()
      • testStereotypeScopeIsOverriddenByInheritedScope

        @SpecAssertion(section="type_level_inheritance",
                       id="hhh")
        public void testStereotypeScopeIsOverriddenByInheritedScope()
      • testStereotypeScopeIsOverriddenByIndirectlyInheritedScope

        @SpecAssertion(section="type_level_inheritance",
                       id="hhi")
        public void testStereotypeScopeIsOverriddenByIndirectlyInheritedScope()