Class EventBindingTypesTest

  • All Implemented Interfaces:
    org.testng.IHookable, org.testng.ITestNGListener

    @SpecVersion(spec="cdi",
                 version="2.0")
    public class EventBindingTypesTest
    extends AbstractTest
    Author:
    Dan Allen, Martin Kouba
    • Constructor Detail

      • EventBindingTypesTest

        public EventBindingTypesTest()
    • Method Detail

      • createTestArchive

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

        @SpecAssertion(section="event_types_and_qualifier_types",
                       id="d")
        public void testEventBindingTypeTargetsMethodFieldParameterElementTypes()
      • testEventBindingTypeTargetsFieldParameterElementTypes

        @SpecAssertion(section="event_types_and_qualifier_types",
                       id="d")
        public void testEventBindingTypeTargetsFieldParameterElementTypes()
      • testNonRuntimeBindingTypeIsNotAnEventBindingType

        @SpecAssertion(section="event_types_and_qualifier_types",
                       id="d")
        public void testNonRuntimeBindingTypeIsNotAnEventBindingType()
        This test ensures that an event binding type without runtime retention is effectively invisible
      • testFireEventWithNonRuntimeBindingTypeFails

        @SpecAssertion(section="event_types_and_qualifier_types",
                       id="d")
        public void testFireEventWithNonRuntimeBindingTypeFails()
      • testFireEventWithNonBindingAnnotationsFails

        @SpecAssertion(section="event_types_and_qualifier_types",
                       id="g")
        public void testFireEventWithNonBindingAnnotationsFails()
      • testEventAlwaysHasAnyBinding

        @SpecAssertion(section="event_types_and_qualifier_types",
                       id="i")
        public void testEventAlwaysHasAnyBinding()