Class AddDeploymentProblemTest
- java.lang.Object
-
- org.jboss.arquillian.testng.Arquillian
-
- org.jboss.cdi.tck.AbstractTest
-
- org.jboss.cdi.tck.tests.full.extensions.lifecycle.broken.addDeploymentProblem.AddDeploymentProblemTest
-
- All Implemented Interfaces:
org.testng.IHookable,org.testng.ITestNGListener
@SpecVersion(spec="cdi", version="2.0") public class AddDeploymentProblemTest extends AbstractTestTests that a deployment error registered by an observer of the AfterDeploymentValidation event results in a deployment error, but that all observers that observe this event are still called.- Author:
- David Allen, Dan Allen, Martin Kouba
-
-
Field Summary
-
Fields inherited from class org.jboss.cdi.tck.AbstractTest
beanManager
-
-
Constructor Summary
Constructors Constructor Description AddDeploymentProblemTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.jboss.shrinkwrap.api.spec.WebArchivecreateTestArchive()voidtestObserverDeploymentProblemTreatedAsDeploymentError()-
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()
-
testObserverDeploymentProblemTreatedAsDeploymentError
@SpecAssertion(section="after_deployment_validation", id="b") public void testObserverDeploymentProblemTreatedAsDeploymentError()
-
-