Return-Path: Delivered-To: apmail-db-jdo-commits-archive@www.apache.org Received: (qmail 70637 invoked from network); 26 Mar 2006 20:11:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Mar 2006 20:11:20 -0000 Received: (qmail 82295 invoked by uid 500); 26 Mar 2006 20:11:20 -0000 Mailing-List: contact jdo-commits-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-commits@db.apache.org Received: (qmail 82284 invoked by uid 99); 26 Mar 2006 20:11:20 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Mar 2006 12:11:20 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 26 Mar 2006 12:11:19 -0800 Received: (qmail 70589 invoked by uid 65534); 26 Mar 2006 20:10:59 -0000 Message-ID: <20060326201059.70586.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: jdo-commits@db.apache.org From: clr@apache.org X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 @@ *
*Keywords: NontransactionalWrite *
- *Assertion ID: A5.6.2-4, A5.6.2-6, A5.6.2-8, A5.6.2-10. + *Assertion ID: A13.4.2-6 *
*Assertion Description: -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 main is called when the class