[webbeans-commits] Webbeans SVN: r3542 - in tck/trunk/impl/src/main: resources and 1 other directory.
webbeans-commits at lists.jboss.org
webbeans-commits at lists.jboss.org
Mon Aug 17 15:20:59 EDT 2009
Author: pete.muir at jboss.org
Date: 2009-08-17 15:20:59 -0400 (Mon, 17 Aug 2009)
New Revision: 3542
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/event/observer/transactional/TransactionalObserversTest.java
tck/trunk/impl/src/main/resources/tck-audit.xml
Log:
Remove non-testable tests
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/event/observer/transactional/TransactionalObserversTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/event/observer/transactional/TransactionalObserversTest.java 2009-08-17 18:37:56 UTC (rev 3541)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/event/observer/transactional/TransactionalObserversTest.java 2009-08-17 19:20:59 UTC (rev 3542)
@@ -20,7 +20,6 @@
import java.lang.annotation.Annotation;
import java.math.BigInteger;
-import javax.ejb.EJBException;
import javax.enterprise.inject.AnnotationLiteral;
import org.jboss.jsr299.tck.AbstractJSR299Test;
@@ -110,9 +109,8 @@
assert dog.isCorrectTransactionState();
}
- @Test(groups = { "events", "integration", "ri-broken" })
+ @Test(groups = { "events", "integration" })
@SpecAssertion(section = "10.4.5", id = "e")
- // WBRI-303
public void testAfterTransactionFailureObserver() throws Exception
{
dog.setCorrectContext(false);
@@ -155,31 +153,4 @@
Agent dogAgent = getInstanceByType(Agent.class);
dogAgent.sendInTransaction(new DisobedientDog());
}
-
- @Test(groups = { "ri-broken", "events", "integration" }, expectedExceptions = EJBException.class)
- @SpecAssertion(section = "10.5", id = "bd")
- // WBRI-303
- public void testObserverCannotInitiateJtaTransaction()
- {
- Agent dogAgent = getInstanceByType(Agent.class);
- dogAgent.sendInTransaction(new ShowDog());
- }
-
- @Test(groups = { "ri-broken", "events", "integration" }, expectedExceptions = EJBException.class)
- @SpecAssertion(section = "10.5", id = "bd")
- // WBRI-303
- public void testObserverCannotCommitJtaTransaction()
- {
- Agent dogAgent = getInstanceByType(Agent.class);
- dogAgent.sendInTransaction(new LargeDog());
- }
-
- @Test(groups = { "ri-broken", "events", "integration" }, expectedExceptions = EJBException.class)
- @SpecAssertion(section = "10.5", id = "bd")
- // WBRI-303
- public void testObserverCannotRollbackJtaTransaction()
- {
- Agent dogAgent = getInstanceByType(Agent.class);
- dogAgent.sendInTransaction(new SmallDog());
- }
}
Modified: tck/trunk/impl/src/main/resources/tck-audit.xml
===================================================================
--- tck/trunk/impl/src/main/resources/tck-audit.xml 2009-08-17 18:37:56 UTC (rev 3541)
+++ tck/trunk/impl/src/main/resources/tck-audit.xml 2009-08-17 19:20:59 UTC (rev 3542)
@@ -4282,8 +4282,9 @@
<text>If the observer method is a transactional observer method and there is currently a JTA transaction in progress, ~the container calls the observer method during the appropriate transaction completion phase.~ Otherwise, the container calls the observer immediately.</text>
</assertion>
- <assertion id="bd">
+ <assertion id="bd" testable="false">
<text>Any observer method called before completion of a transaction may call |setRollbackOnly()| to force a transaction rollback. An observer method may not directly initiate, commit or rollback JTA transactions.</text>
+ <note>Doesn't specify what happens if they do</note>
</assertion>
<assertion id="ca" testable="false">
More information about the weld-commits
mailing list