org.jboss.jsr299.tck.tests.extensions.annotated.broken.processInjectionTargetThrowsException
Class ProcessInjectionTargetEventThrowsExceptionTest

java.lang.Object
  extended by org.jboss.testharness.AbstractTest
      extended by org.jboss.jsr299.tck.AbstractJSR299Test
          extended by org.jboss.jsr299.tck.tests.extensions.annotated.broken.processInjectionTargetThrowsException.ProcessInjectionTargetEventThrowsExceptionTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

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

Tests that an exception thrown by a ProcessAnnotatedType event observer is treated as a deployment error


Constructor Summary
ProcessInjectionTargetEventThrowsExceptionTest()
           
 
Method Summary
 void testProcessInjectionTargetEventThrowsExceptionNotOk()
           
 
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

ProcessInjectionTargetEventThrowsExceptionTest

public ProcessInjectionTargetEventThrowsExceptionTest()
Method Detail

testProcessInjectionTargetEventThrowsExceptionNotOk

@SpecAssertion(section="11.5.6",
               id="f")
public void testProcessInjectionTargetEventThrowsExceptionNotOk()


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