org.jboss.webbeans.tck.unit.implementation.simple
Class SimpleBeanLifecycleTest

java.lang.Object
  extended by org.jboss.webbeans.tck.AbstractTest
      extended by org.jboss.webbeans.tck.unit.implementation.simple.SimpleBeanLifecycleTest

public class SimpleBeanLifecycleTest
extends AbstractTest

Spec version: PRD2


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jboss.webbeans.tck.AbstractTest
AbstractTest.RunInDependentContext
 
Field Summary
 
Fields inherited from class org.jboss.webbeans.tck.AbstractTest
BUILT_IN_BEANS, manager, visited
 
Constructor Summary
SimpleBeanLifecycleTest()
           
 
Method Summary
protected  java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> getEnabledDeploymentTypes()
          This method should be overridden by test classes which need to enable additional deployment types beyond the normal ones.
 void testCreateBindsDecoratorStack()
           
 void testCreateBindsInterceptorStack()
           
 void testCreateInjectsEjb()
           
 void testCreateInjectsFieldsDeclaredInJava()
           
 void testCreateInjectsPersistenceContext()
           
 void testCreateInjectsResource()
           
 void testCreateReturnsInstanceOfBean()
           
 void testCreationExceptionWrapsCheckedExceptionThrownFromCreate()
           
 void testFieldMissingBindingAnnotationsAreNotInjected()
           
 void testInjectionOfParametersIntoBeanConstructor()
           
 void testPostConstructPreDestroy()
           
 void testSpecializedBeanAlwaysUsed()
           
 void testSubClassDoesNotInheritPostConstructOnSuperclassBlockedByIntermediateClass()
           
 void testSubClassDoesNotInheritPreDestroyConstructOnSuperclassBlockedByIntermediateClass()
           
 void testSubClassInheritsPostConstructOnSuperclass()
           
 void testSubClassInheritsPreDestroyOnSuperclass()
           
 void testUncheckedExceptionThrownFromCreateNotWrapped()
           
 
Methods inherited from class org.jboss.webbeans.tck.AbstractTest
activateDependentContext, after, before, createEnterpriseBean, createProducerFieldBean, createProducerMethodBean, createSimpleBean, deactivateDependentContext, deployBeans, deserialize, getStandardDeploymentTypes, mockCreationalContext, serialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleBeanLifecycleTest

public SimpleBeanLifecycleTest()
Method Detail

getEnabledDeploymentTypes

protected java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> getEnabledDeploymentTypes()
Description copied from class: AbstractTest
This method should be overridden by test classes which need to enable additional deployment types beyond the normal ones.

Overrides:
getEnabledDeploymentTypes in class AbstractTest
Returns:
the list of enabled deployment types

testInjectionOfParametersIntoBeanConstructor

@SpecAssertion(section="3.2.5.3")
public void testInjectionOfParametersIntoBeanConstructor()

testSpecializedBeanAlwaysUsed

@SpecAssertion(section="3.2.6")
public void testSpecializedBeanAlwaysUsed()

testCreateReturnsInstanceOfBean

@SpecAssertion(section="5.3")
public void testCreateReturnsInstanceOfBean()

testCreateBindsInterceptorStack

@SpecAssertion(section="6.3")
public void testCreateBindsInterceptorStack()

testCreateBindsDecoratorStack

@SpecAssertion(section="6.3")
public void testCreateBindsDecoratorStack()

testCreateInjectsEjb

@SpecAssertion(section="6.3")
public void testCreateInjectsEjb()

testCreateInjectsPersistenceContext

@SpecAssertion(section="6.3")
public void testCreateInjectsPersistenceContext()

testCreateInjectsResource

@SpecAssertion(section="6.3")
public void testCreateInjectsResource()

testPostConstructPreDestroy

@SpecAssertion(section="6.3")
public void testPostConstructPreDestroy()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

testSubClassInheritsPostConstructOnSuperclass

@SpecAssertion(section="4.2")
public void testSubClassInheritsPostConstructOnSuperclass()
                                                   throws java.lang.Exception
Throws:
java.lang.Exception

testSubClassInheritsPreDestroyOnSuperclass

@SpecAssertion(section="4.2")
public void testSubClassInheritsPreDestroyOnSuperclass()
                                                throws java.lang.Exception
Throws:
java.lang.Exception

testSubClassDoesNotInheritPostConstructOnSuperclassBlockedByIntermediateClass

@SpecAssertion(section="4.2")
public void testSubClassDoesNotInheritPostConstructOnSuperclassBlockedByIntermediateClass()
                                                                                   throws java.lang.Exception
Throws:
java.lang.Exception

testSubClassDoesNotInheritPreDestroyConstructOnSuperclassBlockedByIntermediateClass

@SpecAssertion(section="4.2")
public void testSubClassDoesNotInheritPreDestroyConstructOnSuperclassBlockedByIntermediateClass()
                                                                                         throws java.lang.Exception
Throws:
java.lang.Exception

testCreateInjectsFieldsDeclaredInJava

@SpecAssertion(section="6.3")
public void testCreateInjectsFieldsDeclaredInJava()

testFieldMissingBindingAnnotationsAreNotInjected

public void testFieldMissingBindingAnnotationsAreNotInjected()

testCreationExceptionWrapsCheckedExceptionThrownFromCreate

public void testCreationExceptionWrapsCheckedExceptionThrownFromCreate()
                                                                throws java.lang.Exception
Throws:
java.lang.Exception

testUncheckedExceptionThrownFromCreateNotWrapped

public void testUncheckedExceptionThrownFromCreateNotWrapped()
                                                      throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2008-2009. All Rights Reserved.