org.jboss.jsr299.tck.tests.implementation.enterprise.newBean
Class NewEnterpriseBeanICTest

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.newBean.NewEnterpriseBeanICTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

@Artifact
@Packaging(value=EAR)
@SpecVersion(spec="cdi",
             version="20091101")
public class NewEnterpriseBeanICTest
extends AbstractJSR299Test


Constructor Summary
NewEnterpriseBeanICTest()
           
 
Method Summary
 void testNewBeanHasNoDisposalMethods()
           
 void testNewBeanHasNoProducerMethods()
          Sets up both the bean and the @New bean with different configurations so that the correct producer method used can be determined.
 void testNewBeanHasSameConstructor()
           
 void testNewBeanHasSameInitializers()
           
 
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

NewEnterpriseBeanICTest

public NewEnterpriseBeanICTest()
Method Detail

testNewBeanHasSameConstructor

@SpecAssertion(section="3.12",
               id="l")
public void testNewBeanHasSameConstructor()

testNewBeanHasSameInitializers

@SpecAssertion(section="3.12",
               id="m")
public void testNewBeanHasSameInitializers()

testNewBeanHasNoProducerMethods

@SpecAssertion(section="3.12",
               id="v")
public void testNewBeanHasNoProducerMethods()
                                     throws Exception
Sets up both the bean and the @New bean with different configurations so that the correct producer method used can be determined.

Throws:
Exception

testNewBeanHasNoDisposalMethods

@SpecAssertion(section="3.12",
               id="x")
public void testNewBeanHasNoDisposalMethods()
                                     throws Exception
Throws:
Exception


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