Class ScopeDefinitionTest

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

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

      • ScopeDefinitionTest

        public ScopeDefinitionTest()
    • Method Detail

      • createTestArchive

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

        @SpecAssertion(section="scopes",
                       id="c")
        public void testScopeTypesAreExtensible()
      • testScopeTypeHasCorrectTarget

        @SpecAssertion(section="defining_new_scope_type",
                       id="aa")
        public void testScopeTypeHasCorrectTarget()
      • testScopeTypeDeclaresScopeTypeAnnotation

        @SpecAssertion(section="defining_new_scope_type",
                       id="ba")
        public void testScopeTypeDeclaresScopeTypeAnnotation()
      • testScopeDeclaredInJava

        @SpecAssertion(section="declaring_bean_scope",
                       id="a")
        public void testScopeDeclaredInJava()
      • testDefaultScope

        @SpecAssertion(section="default_scope",
                       id="aa")
        public void testDefaultScope()
      • testScopeSpecifiedAndStereotyped

        @SpecAssertion(section="default_scope",id="e") @SpecAssertion(section="declaring_stereotypes",id="a")
        public void testScopeSpecifiedAndStereotyped()
      • testMultipleIncompatibleScopeStereotypesWithScopeSpecified

        @SpecAssertion(section="default_scope",
                       id="da")
        public void testMultipleIncompatibleScopeStereotypesWithScopeSpecified()
      • testMultipleCompatibleScopeStereotypes

        @SpecAssertion(section="default_scope",
                       id="c")
        public void testMultipleCompatibleScopeStereotypes()
      • testWebBeanScopeTypeOverridesStereotype

        @SpecAssertion(section="declaring_stereotypes",id="db") @SpecAssertion(section="type_level_inheritance",id="ab")
        public void testWebBeanScopeTypeOverridesStereotype()
      • testScopeTypeDeclaredInheritedIsInherited

        @SpecAssertion(section="type_level_inheritance",
                       id="ba")
        public void testScopeTypeDeclaredInheritedIsInherited()
                                                       throws Exception
        Throws:
        Exception
      • testScopeTypeNotDeclaredInheritedIsNotInherited

        @SpecAssertion(section="type_level_inheritance",
                       id="baa")
        public void testScopeTypeNotDeclaredInheritedIsNotInherited()
      • testScopeTypeDeclaredInheritedIsBlockedByIntermediateScopeTypeMarkedInherited

        @SpecAssertion(section="type_level_inheritance",
                       id="ba")
        public void testScopeTypeDeclaredInheritedIsBlockedByIntermediateScopeTypeMarkedInherited()
      • testScopeTypeDeclaredInheritedIsBlockedByIntermediateScopeTypeNotMarkedInherited

        @SpecAssertion(section="type_level_inheritance",
                       id="ba")
        public void testScopeTypeDeclaredInheritedIsBlockedByIntermediateScopeTypeNotMarkedInherited()
      • testScopeTypeDeclaredInheritedIsIndirectlyInherited

        @SpecAssertion(section="type_level_inheritance",
                       id="bc")
        public void testScopeTypeDeclaredInheritedIsIndirectlyInherited()
      • testScopeTypeNotDeclaredInheritedIsNotIndirectlyInherited

        @SpecAssertion(section="type_level_inheritance",
                       id="bca")
        public void testScopeTypeNotDeclaredInheritedIsNotIndirectlyInherited()