Author: pete.muir(a)jboss.org
Date: 2009-07-26 15:48:22 -0400 (Sun, 26 Jul 2009)
New Revision: 3258
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/deployment/lifecycle/broken/failsDuringValidation/AfterBeanDiscoveryFailureTest.java
Log:
Mark test broken and fix the exception it expects
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/deployment/lifecycle/broken/failsDuringValidation/AfterBeanDiscoveryFailureTest.java
===================================================================
---
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/deployment/lifecycle/broken/failsDuringValidation/AfterBeanDiscoveryFailureTest.java 2009-07-26
19:47:31 UTC (rev 3257)
+++
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/deployment/lifecycle/broken/failsDuringValidation/AfterBeanDiscoveryFailureTest.java 2009-07-26
19:48:22 UTC (rev 3258)
@@ -17,11 +17,10 @@
package org.jboss.jsr299.tck.tests.deployment.lifecycle.broken.failsDuringValidation;
-import javax.enterprise.inject.UnsatisfiedResolutionException;
-
import org.hibernate.tck.annotations.SpecAssertion;
import org.hibernate.tck.annotations.SpecAssertions;
import org.jboss.jsr299.tck.AbstractJSR299Test;
+import org.jboss.jsr299.tck.DeploymentError;
import org.jboss.testharness.impl.packaging.Artifact;
import org.jboss.testharness.impl.packaging.ExpectedDeploymentException;
import org.testng.annotations.Test;
@@ -37,13 +36,13 @@
* @author Dan Allen
*/
@Artifact
-(a)ExpectedDeploymentException(UnsatisfiedResolutionException.class)
+(a)ExpectedDeploymentException(DeploymentError.class)
public class AfterBeanDiscoveryFailureTest extends AbstractJSR299Test
{
// TODO make this an integration test using Extension
- @Test
+ @Test(groups="incontainer-broken")
@SpecAssertions({
@SpecAssertion(section = "11.5.2", id = "a"),
@SpecAssertion(section = "12.2", id = "e"),
Show replies by date