Return-Path: Delivered-To: apmail-db-jdo-commits-archive@www.apache.org Received: (qmail 2463 invoked from network); 12 Mar 2010 01:27:31 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Mar 2010 01:27:31 -0000 Received: (qmail 50488 invoked by uid 500); 12 Mar 2010 01:26:56 -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 50481 invoked by uid 99); 12 Mar 2010 01:26:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Mar 2010 01:26:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Mar 2010 01:26:55 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 64FE72388900; Fri, 12 Mar 2010 01:26:35 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r922104 - /db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/api/persistencemanager/getobject/GetObjectByIdExactClass.java Date: Fri, 12 Mar 2010 01:26:35 -0000 To: jdo-commits@db.apache.org From: clr@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100312012635.64FE72388900@eris.apache.org> Author: clr Date: Fri Mar 12 01:26:35 2010 New Revision: 922104 URL: http://svn.apache.org/viewvc?rev=922104&view=rev Log: Clean up description of test case for exact identity Modified: db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/api/persistencemanager/getobject/GetObjectByIdExactClass.java Modified: db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/api/persistencemanager/getobject/GetObjectByIdExactClass.java URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/api/persistencemanager/getobject/GetObjectByIdExactClass.java?rev=922104&r1=922103&r2=922104&view=diff ============================================================================== --- db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/api/persistencemanager/getobject/GetObjectByIdExactClass.java (original) +++ db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/api/persistencemanager/getobject/GetObjectByIdExactClass.java Fri Mar 12 01:26:35 2010 @@ -37,14 +37,12 @@ import org.apache.jdo.tck.pc.singlefield *
*Keywords: identity cache *
- *Assertion ID: A12.5.6-???. + *Assertion ID: A12.5.6-2. *
*Assertion Description: - If PersistenceManager.getObjectById is called with a value of - false for the second parameter named validate, - and there is not an instance already in the cache with the same JDO identity - as the oid parameter, then this method creates an instance with the specified - JDO identity, and returns it. + * If the validate flag is false, the user asserts that the instance exists + * and the object id represents the exact class of the persistent instance + * (specifically not a subclass or an interface). * If the class is abstract, throw JDOUserException (we cannot construct * a hollow instance of an abstract class). * If the class is actually not correct, an exception with an @@ -56,7 +54,7 @@ public class GetObjectByIdExactClass ext /** */ private static final String ASSERTION_FAILED = - "Assertion A12.5.6-??? (GetObjectById) failed: "; + "Assertion A12.5.6-2 (GetObjectById) failed: "; /** */ private LongIdentity oid;