org.jboss.jsr299.tck.tests.implementation.simple.resource.persistenceContext
Class PersistenceContextInjectionTest

java.lang.Object
  extended by org.jboss.testharness.AbstractTest
      extended by org.jboss.jsr299.tck.AbstractJSR299Test
          extended by org.jboss.jsr299.tck.tests.implementation.simple.resource.persistenceContext.PersistenceContextInjectionTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

@Artifact
@Packaging(value=WAR)
@PersistenceXml(value="persistence.xml")
@BeansXml(value="beans.xml")
@SpecVersion(spec="cdi",
             version="20091101")
public class PersistenceContextInjectionTest
extends AbstractJSR299Test

Injection of persistence related objects.

Author:
David Allen

Constructor Summary
PersistenceContextInjectionTest()
           
 
Method Summary
 void testBeanTypesAndBindingTypesOfPersistenceContext()
           
 void testInjectionOfPersistenceContext()
           
 void testInjectionOfPersistenceUnit()
           
 void testPassivationOfPersistenceContext()
           
 void testPassivationOfPersistenceUnit()
           
 
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

PersistenceContextInjectionTest

public PersistenceContextInjectionTest()
Method Detail

testInjectionOfPersistenceContext

@SpecAssertions(value={@SpecAssertion(section="3.5.1",id="cc"),@SpecAssertion(section="7.3.6",id="lb"),@SpecAssertion(section="7.3.6",id="mc")})
public void testInjectionOfPersistenceContext()

testInjectionOfPersistenceUnit

@SpecAssertions(value={@SpecAssertion(section="3.5.1",id="dd"),@SpecAssertion(section="7.3.6",id="lc"),@SpecAssertion(section="7.3.6",id="me")})
public void testInjectionOfPersistenceUnit()

testPassivationOfPersistenceContext

@SpecAssertions(value=@SpecAssertion(section="7.3.6",id="md"))
public void testPassivationOfPersistenceContext()
                                         throws Exception
Throws:
Exception

testPassivationOfPersistenceUnit

@SpecAssertions(value={@SpecAssertion(section="7.3.6",id="lc"),@SpecAssertion(section="7.3.6",id="mf")})
public void testPassivationOfPersistenceUnit()
                                      throws Exception
Throws:
Exception

testBeanTypesAndBindingTypesOfPersistenceContext

@SpecAssertions(value=@SpecAssertion(section="3.5.1",id="hh"))
public void testBeanTypesAndBindingTypesOfPersistenceContext()


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