org.jboss.jsr299.tck.tests.extensions.annotated.broken.processAnnotatedObserverThrowsException
Class ProcessAnnotatedTypeEventThrowsExceptionTest

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.processAnnotatedObserverThrowsException.ProcessAnnotatedTypeEventThrowsExceptionTest
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 ProcessAnnotatedTypeEventThrowsExceptionTest
extends AbstractJSR299Test

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


Constructor Summary
ProcessAnnotatedTypeEventThrowsExceptionTest()
           
 
Method Summary
 void testProcessAnnotatedTypeEventThrowsExceptionNotOk()
           
 
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

ProcessAnnotatedTypeEventThrowsExceptionTest

public ProcessAnnotatedTypeEventThrowsExceptionTest()
Method Detail

testProcessAnnotatedTypeEventThrowsExceptionNotOk

@SpecAssertion(section="11.5.5",
               id="e")
public void testProcessAnnotatedTypeEventThrowsExceptionNotOk()


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