Class SelectEventTest

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

    @SpecVersion(spec="cdi",
                 version="2.0")
    public class SelectEventTest
    extends AbstractTest
    These tests verify the behavior of the Event#select() method.
    Author:
    Dan Allen, Martin Kouba
    • Constructor Detail

      • SelectEventTest

        public SelectEventTest()
    • Method Detail

      • createTestArchive

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

        @SpecAssertion(section="event",
                       id="eaa")
        public void testEventSelectReturnsEventOfSameType()
      • testEventSelectThrowsExceptionIfEventTypeHasTypeVariable

        @SpecAssertion(section="event",
                       id="eab")
        public <T> void testEventSelectThrowsExceptionIfEventTypeHasTypeVariable()
      • testEventSelectThrowsExceptionForDuplicateBindingType

        @SpecAssertion(section="event",
                       id="eba")
        public void testEventSelectThrowsExceptionForDuplicateBindingType()
      • testEventSelectWithSubtypeThrowsExceptionForDuplicateBindingType

        @SpecAssertion(section="event",
                       id="eba")
        public void testEventSelectWithSubtypeThrowsExceptionForDuplicateBindingType()
      • testEventSelectThrowsExceptionIfAnnotationIsNotBindingType

        @SpecAssertion(section="event",
                       id="ec")
        public void testEventSelectThrowsExceptionIfAnnotationIsNotBindingType()
      • testEventSelectWithSubtypeThrowsExceptionIfAnnotationIsNotBindingType

        @SpecAssertion(section="event",
                       id="ec")
        public void testEventSelectWithSubtypeThrowsExceptionIfAnnotationIsNotBindingType()