Class MixedObserversTest
- java.lang.Object
-
- org.jboss.arquillian.testng.Arquillian
-
- org.jboss.cdi.tck.AbstractTest
-
- org.jboss.cdi.tck.tests.event.observer.async.basic.MixedObserversTest
-
- All Implemented Interfaces:
org.testng.IHookable,org.testng.ITestNGListener
@SpecVersion(spec="cdi", version="2.0") public class MixedObserversTest extends AbstractTest
-
-
Field Summary
-
Fields inherited from class org.jboss.cdi.tck.AbstractTest
beanManager
-
-
Constructor Summary
Constructors Constructor Description MixedObserversTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.jboss.shrinkwrap.api.spec.WebArchivecreateTestArchive()voidtestAsyncObserversCalledInDifferentThread()voidtestQualifiedAsyncEventIsDeliveredOnlyToAsyncObservers()voidtestSyncEventIsDeliveredOnlyToSyncObservers()-
Methods inherited from class org.jboss.cdi.tck.AbstractTest
activate, annotationSetMatches, annotationSetMatches, destroyContext, getBeans, getBeans, getContextualReference, getContextualReference, getContextualReference, getCurrentBeanContainer, getCurrentConfiguration, getCurrentManager, getUniqueBean, getUniqueBean, isThrowablePresent, newDependentInstance, passivate, rawTypeSetMatches, setContextActive, setContextInactive, typeSetMatches
-
-
-
-
Method Detail
-
createTestArchive
@Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
-
testSyncEventIsDeliveredOnlyToSyncObservers
@SpecAssertions(@SpecAssertion(section="observer_resolution",id="e")) public void testSyncEventIsDeliveredOnlyToSyncObservers()
-
testQualifiedAsyncEventIsDeliveredOnlyToAsyncObservers
@SpecAssertion(section="observer_resolution",id="f") @SpecAssertion(section="event",id="eda") public void testQualifiedAsyncEventIsDeliveredOnlyToAsyncObservers() throws InterruptedException- Throws:
InterruptedException
-
testAsyncObserversCalledInDifferentThread
@SpecAssertions(@SpecAssertion(section="firing_events_asynchronously",id="a")) public void testAsyncObserversCalledInDifferentThread() throws InterruptedException- Throws:
InterruptedException
-
-