Class InterceptorNotResolvedInterModuleTest
- java.lang.Object
-
- org.jboss.arquillian.testng.Arquillian
-
- org.jboss.cdi.tck.AbstractTest
-
- org.jboss.cdi.tck.tests.lookup.typesafe.resolution.interceptor.InterceptorNotResolvedInterModuleTest
-
- All Implemented Interfaces:
org.testng.IHookable,org.testng.ITestNGListener
@SpecVersion(spec="cdi", version="2.0") public class InterceptorNotResolvedInterModuleTest extends AbstractTest
-
-
Field Summary
-
Fields inherited from class org.jboss.cdi.tck.AbstractTest
beanManager
-
-
Constructor Summary
Constructors Constructor Description InterceptorNotResolvedInterModuleTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.jboss.shrinkwrap.api.spec.WebArchivecreateTestArchive()Modules: A - WEB-INF/classes BDA: Foo B - WEB-INF/lib BDA: Cat, CatInterceptor, CatInterceptorBinding Interceptor is not enabled in any BDA.voidtestInterceptorNotAvailableForInjection()-
Methods inherited from class org.jboss.cdi.tck.AbstractTest
activate, annotationSetMatches, annotationSetMatches, destroyContext, getBeans, getBeans, getContextualReference, getContextualReference, getContextualReference, getCurrentBeanContainer, getCurrentConfiguration, getCurrentManager, getUniqueBean, getUniqueBean, isThrowablePresent, newDependentInstance, passivate, rawTypeSetMatches, setContextActive, setContextInactive, typeSetMatches
-
-
-
-
Method Detail
-
createTestArchive
@ShouldThrowException(jakarta.enterprise.inject.spi.DeploymentException.class) @Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
Modules:- A - WEB-INF/classes BDA: Foo
- B - WEB-INF/lib BDA: Cat, CatInterceptor, CatInterceptorBinding
- Returns:
- test archive
-
testInterceptorNotAvailableForInjection
@SpecAssertion(section="inter_module_injection", id="b") public void testInterceptorNotAvailableForInjection()
-
-