org.jboss.jsr299.tck.tests.extensions.observer.broken.exception
Class ProcessObserverMethodExceptionTest

java.lang.Object
  extended by org.jboss.testharness.AbstractTest
      extended by org.jboss.jsr299.tck.AbstractJSR299Test
          extended by org.jboss.jsr299.tck.tests.extensions.observer.broken.exception.ProcessObserverMethodExceptionTest
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 ProcessObserverMethodExceptionTest
extends AbstractJSR299Test

Tests event observer throwing exception causes container to produce a definition error.

Author:
David Allen

Constructor Summary
ProcessObserverMethodExceptionTest()
           
 
Method Summary
 void testExceptionIsDefinitionError()
           
 
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

ProcessObserverMethodExceptionTest

public ProcessObserverMethodExceptionTest()
Method Detail

testExceptionIsDefinitionError

@SpecAssertion(section="11.5.9",
               id="db")
public void testExceptionIsDefinitionError()


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