Class ProcessObserverMethodEventTest

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

    @SpecVersion(spec="cdi",
                 version="2.0")
    public class ProcessObserverMethodEventTest
    extends AbstractTest
    Tests for the extensions provided by the ProcessObserverMethod events.
    Author:
    David Allen, Martin Kouba
    • Constructor Detail

      • ProcessObserverMethodEventTest

        public ProcessObserverMethodEventTest()
    • Method Detail

      • createTestArchive

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

        @SpecAssertion(section="process_observer_method",id="aaa") @SpecAssertion(section="bean_discovery_steps",id="kb")
        public void testProcessObserverMethodEventsSent()
      • testGetAnnotatedMethod

        @SpecAssertion(section="process_observer_method",
                       id="aba")
        public void testGetAnnotatedMethod()
      • testGetObserverMethod

        @SpecAssertion(section="process_observer_method",id="ba") @SpecAssertion(section="bean_discovery_steps",id="kb")
        public void testGetObserverMethod()
      • replaceWithSetObserverMethod

        @SpecAssertions(@SpecAssertion(section="process_observer_method",id="daa"))
        public void replaceWithSetObserverMethod()
      • vetoEventD

        @SpecAssertions(@SpecAssertion(section="process_observer_method",id="dad"))
        public void vetoEventD()