org.jboss.cdi.tck.tests.event.observer.resolve
Class ResolveEventObserversTest
java.lang.Object
org.jboss.arquillian.testng.Arquillian
org.jboss.cdi.tck.AbstractTest
org.jboss.cdi.tck.tests.event.observer.resolve.ResolveEventObserversTest
- All Implemented Interfaces:
- org.testng.IHookable, org.testng.ITestNGListener
@SpecVersion(spec="cdi",
version="20091101")
public class ResolveEventObserversTest- extends AbstractTest
| Fields inherited from class org.jboss.arquillian.testng.Arquillian |
ARQUILLIAN_DATA_PROVIDER |
| 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 |
ResolveEventObserversTest
public ResolveEventObserversTest()
createTestArchive
@Deployment
public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
testMultipleObserverMethodsForSameEventPermissible
@SpecAssertion(section="observer_methods",
id="e")
public void testMultipleObserverMethodsForSameEventPermissible()
testMultipleObserverMethodsOnBeanPermissible
@SpecAssertion(section="observer_methods",
id="f")
public void testMultipleObserverMethodsOnBeanPermissible()
testMethodWithParameterAnnotatedWithObservesRegistersObserverMethod
@SpecAssertion(section="observes",
id="a")
public void testMethodWithParameterAnnotatedWithObservesRegistersObserverMethod()
throws SecurityException,
NoSuchMethodException
- Throws:
SecurityException
NoSuchMethodException
testObserverMethodWithoutBindingTypesObservesEventsWithoutBindingTypes
@SpecAssertion(section="observer_method_event_parameter",
id="b")
public void testObserverMethodWithoutBindingTypesObservesEventsWithoutBindingTypes()
testObserverMethodMayHaveMultipleBindingTypes
@SpecAssertions(value={@SpecAssertion(section="observes",id="c"),@SpecAssertion(section="event_qualifier_types_with_members",id="a"),@SpecAssertion(section="multiple_event_qualifiers",id="a")})
public void testObserverMethodMayHaveMultipleBindingTypes()
testObserverMethodRegistration
@SpecAssertion(section="observer_notification",
id="aa")
public void testObserverMethodRegistration()
testBeanManagerResolveObserversSignature
@SpecAssertions(value={@SpecAssertion(section="bm_observer_method_resolution",id="a"),@SpecAssertion(section="bm_observer_method_resolution",id="b")})
public void testBeanManagerResolveObserversSignature()
throws Exception
- Throws:
Exception
testBeanManagerResolveObserversWithIllegalQualifier
@SpecAssertion(section="bm_observer_method_resolution",
id="e")
public void testBeanManagerResolveObserversWithIllegalQualifier()
testObserverMethodAutomaticallyRegistered
@SpecAssertion(section="bean_discovery",
id="o")
public void testObserverMethodAutomaticallyRegistered()
testObserverMethodNotAutomaticallyRegisteredForDisabledBeans
@SpecAssertion(section="bean_discovery",
id="o")
public void testObserverMethodNotAutomaticallyRegisteredForDisabledBeans()
Copyright © 2008-2013 Seam Framework. All Rights Reserved.