You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-commits@db.apache.org by cl...@apache.org on 2006/03/26 22:10:59 UTC
svn commit: r388953 -
/db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/lifecycle/NontransactionalWriteThrows.java
Author: clr
Date: Sun Mar 26 12:10:57 2006
New Revision: 388953
URL: http://svn.apache.org/viewcvs?rev=388953&view=rev
Log:
JDO-350 fix assertion description
Modified:
db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/lifecycle/NontransactionalWriteThrows.java
Modified: db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/lifecycle/NontransactionalWriteThrows.java
URL: http://svn.apache.org/viewcvs/db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/lifecycle/NontransactionalWriteThrows.java?rev=388953&r1=388952&r2=388953&view=diff
==============================================================================
--- db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/lifecycle/NontransactionalWriteThrows.java (original)
+++ db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/lifecycle/NontransactionalWriteThrows.java Sun Mar 26 12:10:57 2006
@@ -30,36 +30,19 @@
*<BR>
*<B>Keywords:</B> NontransactionalWrite
*<BR>
- *<B>Assertion ID:</B> A5.6.2-4, A5.6.2-6, A5.6.2-8, A5.6.2-10.
+ *<B>Assertion ID:</B> A13.4.2-6
*<BR>
*<B>Assertion Description: </B>
-A5.6.2-4 [If a datastore transaction is begun, commit will write
-the changes to the datastore with no checking as to
-the current state of the instances in the datastore.
-That is, the changes made outside the transaction
-together with any changes made inside the transaction
-will overwrite the current state of the datastore.]
-
-A5.6.2-6 [If a datastore transaction is begun, rollback will not write
-any changes to the datastore.]
-
-A5.6.2-8 [If an optimistic transaction is begun, commit will write
-the changes to the datastore after checking as to the current state
-of the instances in the datastore. The changes made outside
-the transaction together with any changes made inside the transaction
-will update the current state of the datastore if the version
-checking is successful.]
-
-A5.6.2-10 [If an optimistic transaction is begun, rollback will not write
-any changes to the datastore. The persistent-nontransactional-dirty
-instances will transition according to the RestoreValues flag. ]
+If an implementation does not support the [NontranasctionalWrite]
+option, then an attempt to set the flag to an unsupported value
+will throw JDOUnsupportedOptionException.
*/
public class NontransactionalWriteThrows extends NontransactionalWriteTest {
/** */
protected static final String ASSERTION_FAILED =
- "Assertion A5.6.2 (NontransactionalWriteThrows) failed: ";
+ "Assertion A13.4.2-6 (NontransactionalWriteThrows) failed: ";
/**
* The <code>main</code> is called when the class