org.jboss.jsr299.tck.tests.implementation.enterprise.definition
Class EnterpriseBeanDefinitionTest

java.lang.Object
  extended by org.jboss.testharness.AbstractTest
      extended by org.jboss.jsr299.tck.AbstractJSR299Test
          extended by org.jboss.jsr299.tck.tests.implementation.enterprise.definition.EnterpriseBeanDefinitionTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

@Artifact
@Packaging(value=EAR)
@BeansXml(value="beans.xml")
@EjbJarXml(value="ejb-jar.xml")
@SpecVersion(spec="cdi",
             version="20091101")
public class EnterpriseBeanDefinitionTest
extends AbstractJSR299Test

Author:
Nicklas Karlsson

Constructor Summary
EnterpriseBeanDefinitionTest()
           
 
Method Summary
 void testBeanTypesAreLocalInterfacesWithoutWildcardTypesOrTypeVariablesWithSuperInterfaces()
           
 void testBeanWithNamedAnnotation()
           
 void testBeanWithQualifiers()
           
 void testBeanWithScopeAnnotation()
           
 void testBeanWithStereotype()
           
 void testConstructorAnnotatedInjectCalled()
           
 void testDefaultName()
           
 void testEnterpriseBeanClassLocalView()
           
 void testObjectIsInAPITypes()
           
 void testRemoteInterfacesAreNotInAPITypes()
           
 void testSingletonWithApplicationScopeOK()
           
 void testSingletonWithDependentScopeOK()
           
 void testStatelessMustBeDependentScoped()
           
 
Methods inherited from class org.jboss.jsr299.tck.AbstractJSR299Test
annotationSetMatches, deserialize, destroyContext, getBeans, getBeans, getCurrentConfiguration, getCurrentManager, getInstanceByName, getInstanceByType, getInstanceByType, getUniqueBean, getUniqueBean, handleDeploymentFailure, rawTypeSetMatches, serialize, setContextActive, setContextInactive, typeSetMatches
 
Methods inherited from class org.jboss.testharness.AbstractTest
afterClass, afterMethod, afterSuite, beforeClass, beforeMethod, beforeSuite, getContextPath, isInContainer, isThrowablePresent, postCreate, run, setInContainer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnterpriseBeanDefinitionTest

public EnterpriseBeanDefinitionTest()
Method Detail

testStatelessMustBeDependentScoped

@SpecAssertion(section="3.2",
               id="b")
public void testStatelessMustBeDependentScoped()

testConstructorAnnotatedInjectCalled

@SpecAssertion(section="3.7.1",
               id="ab")
public void testConstructorAnnotatedInjectCalled()

testSingletonWithDependentScopeOK

@SpecAssertion(section="3.2",
               id="c")
public void testSingletonWithDependentScopeOK()

testSingletonWithApplicationScopeOK

@SpecAssertion(section="3.2",
               id="c")
public void testSingletonWithApplicationScopeOK()

testBeanTypesAreLocalInterfacesWithoutWildcardTypesOrTypeVariablesWithSuperInterfaces

@SpecAssertions(value={@SpecAssertion(section="3.2.2",id="aa"),@SpecAssertion(section="3.2.3",id="c")})
public void testBeanTypesAreLocalInterfacesWithoutWildcardTypesOrTypeVariablesWithSuperInterfaces()

testEnterpriseBeanClassLocalView

@SpecAssertion(section="3.2.2",
               id="ba")
public void testEnterpriseBeanClassLocalView()

testObjectIsInAPITypes

@SpecAssertions(value={@SpecAssertion(section="3.2.2",id="c"),@SpecAssertion(section="3.2.3",id="aa"),@SpecAssertion(section="2.2",id="l")})
public void testObjectIsInAPITypes()

testRemoteInterfacesAreNotInAPITypes

@SpecAssertion(section="3.2.2",
               id="d")
public void testRemoteInterfacesAreNotInAPITypes()

testBeanWithScopeAnnotation

@SpecAssertions(value={@SpecAssertion(section="3.2.3",id="ba"),@SpecAssertion(section="3.2",id="e")})
public void testBeanWithScopeAnnotation()

testBeanWithNamedAnnotation

@SpecAssertion(section="3.2.3",
               id="bb")
public void testBeanWithNamedAnnotation()

testBeanWithStereotype

@SpecAssertion(section="3.2.3",
               id="bd")
public void testBeanWithStereotype()

testBeanWithQualifiers

@SpecAssertion(section="3.2.3",
               id="be")
public void testBeanWithQualifiers()

testDefaultName

@SpecAssertion(section="3.2.5",
               id="a")
public void testDefaultName()


Copyright © 2008-2012 Seam Framework. All Rights Reserved.