org.jboss.jsr299.tck.tests.context.passivating
Class PassivatingContextTest

java.lang.Object
  extended by org.jboss.testharness.AbstractTest
      extended by org.jboss.jsr299.tck.AbstractJSR299Test
          extended by org.jboss.jsr299.tck.tests.context.passivating.PassivatingContextTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

@Artifact
@BeansXml(value="beans.xml")
@Packaging(value=EAR)
@SpecVersion(spec="cdi",
             version="20091101")
public class PassivatingContextTest
extends AbstractJSR299Test

Author:
Nicklas Karlsson, David Allen

Constructor Summary
PassivatingContextTest()
           
 
Method Summary
static boolean isSerializable(Class<?> clazz)
           
 void testBeanWithNonSerializableImplementationInjectedIntoTransientFieldOK()
           
 void testInjectionOfDependentPrimitiveProductIntoNormalBean()
           
 void testInjectionOfDependentSerializableProductIntoNormalBean()
           
 void testManagedBeanWithSerializableDecoratorOK()
           
 void testManagedBeanWithSerializableImplementationClassOK()
           
 void testManagedBeanWithSerializableInterceptorClassOK()
           
 void testNonSerializableProducerFieldDeclaredPassivatingThrowsIllegalProductException()
           
 void testPassivatingScopeProducerMethodReturnsUnserializableObjectNotOk()
           
 void testPassivationCapableProducerFieldIsOK()
           
 void testPassivationCapableProducerMethodIsOK()
           
 void testPassivationOccurs()
           
 
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

PassivatingContextTest

public PassivatingContextTest()
Method Detail

testManagedBeanWithSerializableImplementationClassOK

@SpecAssertion(section="6.6.1",
               id="ba")
public void testManagedBeanWithSerializableImplementationClassOK()

testManagedBeanWithSerializableInterceptorClassOK

@SpecAssertion(section="6.6.1",
               id="bb")
public void testManagedBeanWithSerializableInterceptorClassOK()

testManagedBeanWithSerializableDecoratorOK

@SpecAssertion(section="6.6.1",
               id="bc")
public void testManagedBeanWithSerializableDecoratorOK()

testPassivationCapableProducerMethodIsOK

@SpecAssertion(section="6.6.1",
               id="ca")
public void testPassivationCapableProducerMethodIsOK()

testPassivationCapableProducerFieldIsOK

@SpecAssertion(section="6.6.1",
               id="da")
public void testPassivationCapableProducerFieldIsOK()

testInjectionOfDependentPrimitiveProductIntoNormalBean

@SpecAssertion(section="6.6.2",
               id="c")
public void testInjectionOfDependentPrimitiveProductIntoNormalBean()

testInjectionOfDependentSerializableProductIntoNormalBean

@SpecAssertion(section="6.6.2",
               id="c")
public void testInjectionOfDependentSerializableProductIntoNormalBean()

testPassivationOccurs

@SpecAssertions(value=@SpecAssertion(section="6.6",id="a"))
public void testPassivationOccurs()
                           throws IOException,
                                  ClassNotFoundException
Throws:
IOException
ClassNotFoundException

testBeanWithNonSerializableImplementationInjectedIntoTransientFieldOK

@SpecAssertion(section="6.6.4",
               id="aaba")
public void testBeanWithNonSerializableImplementationInjectedIntoTransientFieldOK()

testPassivatingScopeProducerMethodReturnsUnserializableObjectNotOk

@SpecAssertion(section="6.6.4",
               id="ea")
public void testPassivatingScopeProducerMethodReturnsUnserializableObjectNotOk()

testNonSerializableProducerFieldDeclaredPassivatingThrowsIllegalProductException

@SpecAssertion(section="6.6.4",
               id="eb")
public void testNonSerializableProducerFieldDeclaredPassivatingThrowsIllegalProductException()

isSerializable

public static boolean isSerializable(Class<?> clazz)


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