public class EnhancedListenerTest extends Object
org.jboss.weld.environment.servlet.EnhancedListener works correctly on its own, i.e. if the
org.jboss.weld.environment.servlet.Listener is not configured in web.xml.
Note that the test suite is using both Listener and EnhancedListener for all the tests. For Tomcat prior to 7.0.52 a workaround was required in embedded mode
due to Maven Surefire classloading issues. See also Classloading
and Forking in Maven Surefire.| Modifier and Type | Field and Description |
|---|---|
static org.jboss.shrinkwrap.api.asset.Asset |
WEB_XML |
| Constructor and Description |
|---|
EnhancedListenerTest() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.shrinkwrap.api.spec.WebArchive |
createTestArchive() |
void |
testAloneEnhancedListener(Ping ping) |
public static final org.jboss.shrinkwrap.api.asset.Asset WEB_XML
@Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
public void testAloneEnhancedListener(Ping ping)
Copyright © 2017. All rights reserved.