Class StartupShutdownTest
- java.lang.Object
-
- org.jboss.cdi.tck.tests.se.events.lifecycle.StartupShutdownTest
-
@SpecVersion(spec="cdi", version="4.0") public class StartupShutdownTest extends ObjectTestsStartupandShutdownevent delivery. The reason we test this in SE container is that we can make assertions on both of these events as the test spans even beyond the CDI container lifecycle.
-
-
Constructor Summary
Constructors Constructor Description StartupShutdownTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.jboss.shrinkwrap.api.Archive<?>createTestArchive()voidtestEvents()
-
-
-
Method Detail
-
createTestArchive
@Deployment public static org.jboss.shrinkwrap.api.Archive<?> createTestArchive()
-
testEvents
@SpecAssertion(section="startup_event",id="aa") @SpecAssertion(section="startup_event",id="ab") @SpecAssertion(section="shutdown_event",id="aa") @SpecAssertion(section="shutdown_event",id="ab") public void testEvents()
-
-