org.jboss.jsr299.tck.tests.deployment.lifecycle.broken.addDeploymentProblem
Class AddDeploymentProblemTest

java.lang.Object
  extended by org.jboss.testharness.AbstractTest
      extended by org.jboss.jsr299.tck.AbstractJSR299Test
          extended by org.jboss.jsr299.tck.tests.deployment.lifecycle.broken.addDeploymentProblem.AddDeploymentProblemTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

@Artifact
@Extension(value="javax.enterprise.inject.spi.Extension")
@ExpectedDeploymentException(value=DeploymentFailure.class)
@SpecVersion(spec="cdi",
             version="20091101")
public class AddDeploymentProblemTest
extends AbstractJSR299Test

Tests 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

Constructor Summary
AddDeploymentProblemTest()
           
 
Method Summary
 void testObserverDeploymentProblemTreatedAsDeploymentError()
           
 
Methods inherited from class org.jboss.jsr299.tck.AbstractJSR299Test
annotationSetMatches, deserialize, destroyContext, getBeans, getBeans, getCurrentConfiguration, getCurrentManager, getInstanceByName, getInstanceByType, getInstanceByType, getUniqueBean, getUniqueBean, handleDeploymentFailure, rawTypeSetMatches, serialize, setContextActive, setContextInactive, typeSetMatches
 
Methods inherited from class org.jboss.testharness.AbstractTest
afterClass, afterMethod, afterSuite, beforeClass, beforeMethod, beforeSuite, getContextPath, isInContainer, isThrowablePresent, postCreate, run, setInContainer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddDeploymentProblemTest

public AddDeploymentProblemTest()
Method Detail

testObserverDeploymentProblemTreatedAsDeploymentError

@SpecAssertion(section="11.5.3",
               id="b")
public void testObserverDeploymentProblemTreatedAsDeploymentError()


Copyright © 2008-2012 Seam Framework. All Rights Reserved.