Class StartupShutdownTest

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

    @SpecVersion(spec="cdi",
                 version="4.0")
    public class StartupShutdownTest
    extends AbstractTest
    Tests Startup event. The test also uses Shutdown but we cannot make assertion on it because the entirety of the test happens inside running CDI container. Note that there is also StartupShutdownTest which tests both events under CDI SE.
    • Constructor Detail

      • StartupShutdownTest

        public StartupShutdownTest()
    • Method Detail

      • createTestArchive

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

        @SpecAssertion(section="startup_event",id="aa") @SpecAssertion(section="startup_event",id="ab")
        public void testEventsObserved()