[weld-commits] Weld SVN: r6916 - in cdi-tck/trunk/impl/src/main: resources and 1 other directory.
weld-commits at lists.jboss.org
weld-commits at lists.jboss.org
Thu Aug 5 13:01:43 EDT 2010
Author: dallen6
Date: 2010-08-05 13:01:43 -0400 (Thu, 05 Aug 2010)
New Revision: 6916
Removed:
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/event/observer/transactional/
Modified:
cdi-tck/trunk/impl/src/main/resources/tck-audit-cdi.xml
Log:
CDITCK-170 Removed transactional observer tests; they were not really testing the assertions
Modified: cdi-tck/trunk/impl/src/main/resources/tck-audit-cdi.xml
===================================================================
--- cdi-tck/trunk/impl/src/main/resources/tck-audit-cdi.xml 2010-08-05 16:59:16 UTC (rev 6915)
+++ cdi-tck/trunk/impl/src/main/resources/tck-audit-cdi.xml 2010-08-05 17:01:43 UTC (rev 6916)
@@ -5043,22 +5043,27 @@
<section id="10.4.4" title="Transactional observer methods">
<assertion id="a">
<text>Transactional observer methods are observer methods which receive event notifications during the before or after completion phase of the transaction in which the event was fired. If no transaction is in progress when the event is fired, they are notified at the same time as other observers</text>
+ <note>Unverifiable since an observer method cannot detect if a transaction is involved or not</note>
</assertion>
<assertion id="b">
<text>A before completion observer method is called during the before completion phase of the transaction</text>
+ <note>Unverifiable since an observer method cannot detect if a transaction is involved or not</note>
</assertion>
<assertion id="c">
<text>An after completion observer method is called during the after completion phase of the transaction</text>
+ <note>Unverifiable since an observer method cannot detect if a transaction is involved or not</note>
</assertion>
<assertion id="d">
<text>An after success observer method is called during the after completion phase of the transaction, only when the transaction completes successfully</text>
+ <note>Unverifiable since an observer method cannot detect if a transaction is involved or not</note>
</assertion>
<assertion id="e">
<text>An after failure observer method is called during the after completion phase of the transaction, only when the transaction fails</text>
+ <note>Unverifiable since an observer method cannot detect if a transaction is involved or not</note>
</assertion>
<assertion id="f" testable="false">
@@ -5082,10 +5087,12 @@
<assertion id="bb">
<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>
+ <note>Unverifiable since an observer method cannot detect if a transaction is involved or not</note>
</assertion>
<assertion id="bc">
<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>
+ <note>Unverifiable since an observer method cannot detect if a transaction is involved or not</note>
</assertion>
<assertion id="bcb">
@@ -5094,6 +5101,7 @@
<assertion id="bd">
<text>Any observer method called before completion of a transaction may call |setRollbackOnly()| to force a transaction rollback.</text>
+ <note>Unverifiable since an observer method cannot access the transaction being committed</note>
</assertion>
<assertion id="bd" testable="false">
More information about the weld-commits
mailing list