org.jboss.cdi.tck.tests.implementation.simple.ee.components
Class JavaEEComponentsTest

java.lang.Object
  extended by org.jboss.arquillian.testng.Arquillian
      extended by org.jboss.cdi.tck.AbstractTest
          extended by org.jboss.cdi.tck.tests.implementation.simple.ee.components.JavaEEComponentsTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

@SpecVersion(spec="cdi",
             version="20091101")
public class JavaEEComponentsTest
extends AbstractTest

Right now only Servlet Java EE component is tested.

Author:
Martin Kouba

Field Summary
 
Fields inherited from class org.jboss.cdi.tck.AbstractTest
beanManager
 
Fields inherited from class org.jboss.arquillian.testng.Arquillian
ARQUILLIAN_DATA_PROVIDER
 
Constructor Summary
JavaEEComponentsTest()
           
 
Method Summary
static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
           
 void testComponentDisposerMethod()
           
 void testComponentInject()
           
 void testComponentObserverMethod()
           
 void testComponentProducerField()
           
 void testComponentProducerMethod()
           
 
Methods inherited from class org.jboss.cdi.tck.AbstractTest
activate, annotationSetMatches, annotationSetMatches, destroyContext, getBeans, getBeans, getContextualReference, getContextualReference, getContextualReference, getCurrentConfiguration, getCurrentManager, getUniqueBean, getUniqueBean, isThrowablePresent, newDependentInstance, passivate, rawTypeSetMatches, setContextActive, setContextInactive, typeSetMatches
 
Methods inherited from class org.jboss.arquillian.testng.Arquillian
arquillianAfterClass, arquillianAfterSuite, arquillianAfterTest, arquillianArgumentProvider, arquillianBeforeClass, arquillianBeforeSuite, arquillianBeforeTest, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaEEComponentsTest

public JavaEEComponentsTest()
Method Detail

createTestArchive

@Deployment(testable=false)
public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()

testComponentInject

@SpecAssertions(value=@SpecAssertion(section="javaee_components",id="a"))
public void testComponentInject()
                         throws Exception
Throws:
Exception

testComponentProducerMethod

@SpecAssertions(value=@SpecAssertion(section="javaee_components",id="b"))
public void testComponentProducerMethod()
                                 throws Exception
Throws:
Exception

testComponentProducerField

@SpecAssertions(value=@SpecAssertion(section="javaee_components",id="c"))
public void testComponentProducerField()
                                throws Exception
Throws:
Exception

testComponentObserverMethod

@SpecAssertions(value=@SpecAssertion(section="javaee_components",id="d"))
public void testComponentObserverMethod()
                                 throws Exception
Throws:
Exception

testComponentDisposerMethod

@SpecAssertions(value=@SpecAssertion(section="javaee_components",id="e"))
public void testComponentDisposerMethod()
                                 throws Exception
Throws:
Exception


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