You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Craig Russell (JIRA)" <ji...@apache.org> on 2005/10/18 23:53:45 UTC

[jira] Created: (JDO-190) Add test for PersistenceManagerFactory.getDataStoreCache()

Add test for PersistenceManagerFactory.getDataStoreCache()
----------------------------------------------------------

         Key: JDO-190
         URL: http://issues.apache.org/jira/browse/JDO-190
     Project: JDO
        Type: Test
 Environment: TCK
    Reporter: Craig Russell


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


[jira] Updated: (JDO-190) Add test for PersistenceManagerFactory.getDataStoreCache()

Posted by "Craig Russell (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JDO-190?page=all ]

Craig Russell updated JDO-190:
------------------------------

    Attachment: DataStoreCacheTest.java

Please review this test case. There is no mandated behavior so this test just makes sure that exceptions are not thrown.

> 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


[jira] Updated: (JDO-190) Add test for PersistenceManagerFactory.getDataStoreCache()

Posted by "Craig Russell (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JDO-190?page=all ]

Craig Russell updated JDO-190:
------------------------------

    Fix Version: JDO 2 rc1
        Version: JDO 2 beta

> 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
>      Fix For: JDO 2 rc1

>
> 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


[jira] Commented: (JDO-190) Add test for PersistenceManagerFactory.getDataStoreCache()

Posted by "Michael Bouschen (JIRA)" <ji...@apache.org>.
    [ 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


[jira] Resolved: (JDO-190) Add test for PersistenceManagerFactory.getDataStoreCache()

Posted by "Craig Russell (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JDO-190?page=all ]
     
Craig Russell resolved JDO-190:
-------------------------------

    Resolution: Fixed

svn commit -m "JDO-190 Added test for DataStoreCache" src/java/org/apache/jdo/tck/api/persistencemanager/DataStoreCacheTest.java src/conf/pm.conf
Sending        src/conf/pm.conf
Adding         src/java/org/apache/jdo/tck/api/persistencemanager/DataStoreCacheTest.java
Transmitting file data ..
Committed revision 384312.


> 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


[jira] Commented: (JDO-190) Add test for PersistenceManagerFactory.getDataStoreCache()

Posted by "Michelle Caisse (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/JDO-190?page=comments#action_12371881 ] 

Michelle Caisse commented on JDO-190:
-------------------------------------

Updated Implemented to yes in spreadsheet.

> 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


[jira] Updated: (JDO-190) Add test for PersistenceManagerFactory.getDataStoreCache()

Posted by "Craig Russell (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JDO-190?page=all ]

Craig Russell updated JDO-190:
------------------------------

    Component: tck20

> Add test for PersistenceManagerFactory.getDataStoreCache()
> ----------------------------------------------------------
>
>          Key: JDO-190
>          URL: http://issues.apache.org/jira/browse/JDO-190
>      Project: JDO
>         Type: Test
>   Components: tck20
>  Environment: TCK
>     Reporter: Craig Russell

>
> 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


[jira] Updated: (JDO-190) Add test for PersistenceManagerFactory.getDataStoreCache()

Posted by "Craig Russell (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JDO-190?page=all ]

Craig Russell updated JDO-190:
------------------------------

    Fix Version: JDO 2 final
                     (was: JDO 2 rc1)

> 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
>      Fix For: JDO 2 final

>
> 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


[jira] Assigned: (JDO-190) Add test for PersistenceManagerFactory.getDataStoreCache()

Posted by "Craig Russell (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JDO-190?page=all ]

Craig Russell reassigned JDO-190:
---------------------------------

    Assign To: Craig Russell

> 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

>
> 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