org.jboss.jsr299.tck.tests.deployment.lifecycle.broken.failsDuringValidation
Class AfterBeanDiscoveryFailureTest

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.failsDuringValidation.AfterBeanDiscoveryFailureTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

@Artifact
@ExpectedDeploymentException(value=DeploymentFailure.class)
@SpecVersion(spec="cdi",
             version="20091101")
public class AfterBeanDiscoveryFailureTest
extends AbstractJSR299Test

Tests a failure that occurs during validation of beans, which occurs after the AfterBeanDiscovery event but before the AfterDeploymentValidation event is raised.

Author:
David Allen, Dan Allen

Constructor Summary
AfterBeanDiscoveryFailureTest()
           
 
Method Summary
 void testDeploymentFailsDuringValidation()
           
 
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

AfterBeanDiscoveryFailureTest

public AfterBeanDiscoveryFailureTest()
Method Detail

testDeploymentFailsDuringValidation

@SpecAssertions(value={@SpecAssertion(section="11.5.2",id="a"),@SpecAssertion(section="12.2",id="e"),@SpecAssertion(section="12.2",id="f")})
public void testDeploymentFailsDuringValidation()


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