org.jboss.cdi.tck.tests.deployment.packaging.visibility
Class VisibilityOfAnnotatedTypesFromExtensionInAlphaBeanArchiveTest

java.lang.Object
  extended by org.jboss.arquillian.testng.Arquillian
      extended by org.jboss.cdi.tck.AbstractTest
          extended by org.jboss.cdi.tck.tests.deployment.packaging.visibility.VisibilityOfAnnotatedTypesFromExtensionInAlphaBeanArchiveTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

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

Tests whether an extension that observes annotated types, when put in a library with a higher order name (alpha.jar), is notified of annotated types in a library with a lower order name (bravo.jar).

This test was originally part of Seam Compatibility project.

TODO verify assertions

Author:
Dan Allen, Martin Kouba
See Also:
GLASSFISH-15735

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
VisibilityOfAnnotatedTypesFromExtensionInAlphaBeanArchiveTest()
           
 
Method Summary
static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
           
 void shouldObserveExpectedAnnotatedTypes()
           
 
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

VisibilityOfAnnotatedTypesFromExtensionInAlphaBeanArchiveTest

public VisibilityOfAnnotatedTypesFromExtensionInAlphaBeanArchiveTest()
Method Detail

createTestArchive

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

shouldObserveExpectedAnnotatedTypes

@SpecAssertion(section="init_events",
               id="b")
public void shouldObserveExpectedAnnotatedTypes()


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