Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 40633 invoked from network); 8 Mar 2006 19:01:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Mar 2006 19:01:03 -0000 Received: (qmail 51257 invoked by uid 500); 8 Mar 2006 19:01:03 -0000 Mailing-List: contact jdo-dev-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-dev@db.apache.org Received: (qmail 51245 invoked by uid 99); 8 Mar 2006 19:01:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Mar 2006 11:01:03 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Mar 2006 11:01:02 -0800 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax (Postfix) with ESMTP id AA416D49FA for ; Wed, 8 Mar 2006 19:00:41 +0000 (GMT) Message-ID: <1170438838.1141844441694.JavaMail.jira@ajax> Date: Wed, 8 Mar 2006 19:00:41 +0000 (GMT) From: "Michael Bouschen (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Commented: (JDO-190) Add test for PersistenceManagerFactory.getDataStoreCache() In-Reply-To: <1534907561.1129672425068.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JDO-190?page=comments#action_12369527 ] Michael Bouschen commented on JDO-190: -------------------------------------- Looks good. Just a minor comment: I would move method localSetUp after method main. > Add test for PersistenceManagerFactory.getDataStoreCache() > ---------------------------------------------------------- > > Key: JDO-190 > URL: http://issues.apache.org/jira/browse/JDO-190 > Project: JDO > Type: Test > Components: tck20 > Versions: JDO 2 beta > Environment: TCK > Reporter: Craig Russell > Assignee: Craig Russell > Fix For: JDO 2 final > Attachments: DataStoreCacheTest.java > > A11.8-1 [To obtain a reference to the cache manager, the getDataStoreCache() method of PersistenceManagerFactory is used. DataStoreCache getDataStoreCache(); If there is no second-level cache, the returned instance silently does nothing.] > The test calls getDataStoreCache() and verifies that the returned instance is not null. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira