db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject svn commit: r388953 - /db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/lifecycle/NontransactionalWriteThrows.java
Date Sun, 26 Mar 2006 20:10:59 GMT
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



Mime
View raw message