Class StereotypeDefinitionTest
- java.lang.Object
-
- org.jboss.arquillian.testng.Arquillian
-
- org.jboss.cdi.tck.AbstractTest
-
- org.jboss.cdi.tck.tests.definition.stereotype.StereotypeDefinitionTest
-
- All Implemented Interfaces:
org.testng.IHookable,org.testng.ITestNGListener
@SpecVersion(spec="cdi", version="2.0") public class StereotypeDefinitionTest extends AbstractTest
-
-
Field Summary
-
Fields inherited from class org.jboss.cdi.tck.AbstractTest
beanManager
-
-
Constructor Summary
Constructors Constructor Description StereotypeDefinitionTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.jboss.shrinkwrap.api.spec.WebArchivecreateTestArchive()voidtestExplicitScopeOverridesMergedScopesFromMultipleStereotype()voidtestMultipleStereotypesAllowed()voidtestOneStereotypeAllowed()voidtestStereotypeDeclaredInheritedIsIndirectlyInherited()voidtestStereotypeDeclaredInheritedIsInherited()voidtestStereotypeNotDeclaredInheritedIsNotIndirectlyInherited()voidtestStereotypeNotDeclaredInheritedIsNotInherited()voidtestStereotypeScopeIsOverriddenByIndirectlyInheritedScope()voidtestStereotypeScopeIsOverriddenByInheritedScope()voidtestStereotypeWithoutScopeType()voidtestStereotypeWithScopeType()-
Methods inherited from class org.jboss.cdi.tck.AbstractTest
activate, annotationSetMatches, annotationSetMatches, destroyContext, getBeans, getBeans, getContextualReference, getContextualReference, getContextualReference, getCurrentBeanContainer, getCurrentConfiguration, getCurrentManager, getUniqueBean, getUniqueBean, isThrowablePresent, newDependentInstance, passivate, rawTypeSetMatches, setContextActive, setContextInactive, typeSetMatches
-
-
-
-
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()
-
-