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/02 15:17:53 UTC
[jira] Created: (JDO-154) Add tests for getUserObject, putUserObject, removeUserObject
Add tests for getUserObject, putUserObject, removeUserObject
------------------------------------------------------------
Key: JDO-154
URL: http://issues.apache.org/jira/browse/JDO-154
Project: JDO
Type: Test
Components: tck20
Reporter: Craig Russell
Assigned to: Craig Russell
Assertion 12.11-1 PersistenceManager APIs
Object putUserObject(Object key, Object value); This method models the put method of Map. The current value associated with the key is returned and replaced by the parameter value. If the parameter value is null, the implementation may remove the entry from the table of managed key/value pairs
Object removeUserObject(Object key); This method models the remove method of Map. The current value associated with the key is re turned and removed
Object getUserObject(Object key); This method models the get method of Map. The current value associated with the key is returned. If the key is not found in the table, null is returned.
--
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] Closed: (JDO-154) Add tests for getUserObject,
putUserObject, removeUserObject
Posted by "Michael Bouschen (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/JDO-154?page=all ]
Michael Bouschen closed JDO-154:
--------------------------------
Fix Version: JDO 2 beta
Resolution: Fixed
> Add tests for getUserObject, putUserObject, removeUserObject
> ------------------------------------------------------------
>
> Key: JDO-154
> URL: http://issues.apache.org/jira/browse/JDO-154
> Project: JDO
> Type: Test
> Components: tck20
> Reporter: Craig Russell
> Assignee: Craig Russell
> Fix For: JDO 2 beta
> Attachments: JDO-154.patch
>
> Assertion 12.11-1 PersistenceManager APIs
> Object putUserObject(Object key, Object value); This method models the put method of Map. The current value associated with the key is returned and replaced by the parameter value. If the parameter value is null, the implementation may remove the entry from the table of managed key/value pairs
> Object removeUserObject(Object key); This method models the remove method of Map. The current value associated with the key is re turned and removed
> Object getUserObject(Object key); This method models the get method of Map. The current value associated with the key is returned. If the key is not found in the table, null is returned.
--
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-154) Add tests for getUserObject, putUserObject, removeUserObject
Posted by "Craig Russell (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/JDO-154?page=all ]
Craig Russell resolved JDO-154:
-------------------------------
Resolution: Fixed
I added a test to verify that a second putUserObject overwrites the first value and returns it.
Committed version 326179.
> Add tests for getUserObject, putUserObject, removeUserObject
> ------------------------------------------------------------
>
> Key: JDO-154
> URL: http://issues.apache.org/jira/browse/JDO-154
> Project: JDO
> Type: Test
> Components: tck20
> Reporter: Craig Russell
> Assignee: Craig Russell
> Attachments: JDO-154.patch
>
> Assertion 12.11-1 PersistenceManager APIs
> Object putUserObject(Object key, Object value); This method models the put method of Map. The current value associated with the key is returned and replaced by the parameter value. If the parameter value is null, the implementation may remove the entry from the table of managed key/value pairs
> Object removeUserObject(Object key); This method models the remove method of Map. The current value associated with the key is re turned and removed
> Object getUserObject(Object key); This method models the get method of Map. The current value associated with the key is returned. If the key is not found in the table, null is returned.
--
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] Closed: (JDO-154) Add tests for getUserObject, putUserObject, removeUserObject
Posted by "Craig Russell (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/JDO-154?page=all ]
Craig Russell closed JDO-154:
-----------------------------
> Add tests for getUserObject, putUserObject, removeUserObject
> ------------------------------------------------------------
>
> Key: JDO-154
> URL: http://issues.apache.org/jira/browse/JDO-154
> Project: JDO
> Type: Test
> Components: tck20
> Reporter: Craig Russell
> Assignee: Craig Russell
> Attachments: JDO-154.patch
>
> Assertion 12.11-1 PersistenceManager APIs
> Object putUserObject(Object key, Object value); This method models the put method of Map. The current value associated with the key is returned and replaced by the parameter value. If the parameter value is null, the implementation may remove the entry from the table of managed key/value pairs
> Object removeUserObject(Object key); This method models the remove method of Map. The current value associated with the key is re turned and removed
> Object getUserObject(Object key); This method models the get method of Map. The current value associated with the key is returned. If the key is not found in the table, null is returned.
--
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-154) Add tests for getUserObject, putUserObject, removeUserObject
Posted by "Michael Bouschen (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/JDO-154?page=comments#action_12332371 ]
Michael Bouschen commented on JDO-154:
--------------------------------------
I looked at the patch. I just have one question: would it make sense to call putUserObject a second time for the same key and verify that the second call overwrite the existing value for the key?
> Add tests for getUserObject, putUserObject, removeUserObject
> ------------------------------------------------------------
>
> Key: JDO-154
> URL: http://issues.apache.org/jira/browse/JDO-154
> Project: JDO
> Type: Test
> Components: tck20
> Reporter: Craig Russell
> Assignee: Craig Russell
> Attachments: JDO-154.patch
>
> Assertion 12.11-1 PersistenceManager APIs
> Object putUserObject(Object key, Object value); This method models the put method of Map. The current value associated with the key is returned and replaced by the parameter value. If the parameter value is null, the implementation may remove the entry from the table of managed key/value pairs
> Object removeUserObject(Object key); This method models the remove method of Map. The current value associated with the key is re turned and removed
> Object getUserObject(Object key); This method models the get method of Map. The current value associated with the key is returned. If the key is not found in the table, null is returned.
--
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] Reopened: (JDO-154) Add tests for getUserObject,
putUserObject, removeUserObject
Posted by "Michael Bouschen (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/JDO-154?page=all ]
Michael Bouschen reopened JDO-154:
----------------------------------
> Add tests for getUserObject, putUserObject, removeUserObject
> ------------------------------------------------------------
>
> Key: JDO-154
> URL: http://issues.apache.org/jira/browse/JDO-154
> Project: JDO
> Type: Test
> Components: tck20
> Reporter: Craig Russell
> Assignee: Craig Russell
> Attachments: JDO-154.patch
>
> Assertion 12.11-1 PersistenceManager APIs
> Object putUserObject(Object key, Object value); This method models the put method of Map. The current value associated with the key is returned and replaced by the parameter value. If the parameter value is null, the implementation may remove the entry from the table of managed key/value pairs
> Object removeUserObject(Object key); This method models the remove method of Map. The current value associated with the key is re turned and removed
> Object getUserObject(Object key); This method models the get method of Map. The current value associated with the key is returned. If the key is not found in the table, null is returned.
--
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-154) Add tests for getUserObject, putUserObject, removeUserObject
Posted by "Craig Russell (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/JDO-154?page=all ]
Craig Russell updated JDO-154:
------------------------------
Attachment: JDO-154.patch
This test works against the latest JPOX snapshot.
> Add tests for getUserObject, putUserObject, removeUserObject
> ------------------------------------------------------------
>
> Key: JDO-154
> URL: http://issues.apache.org/jira/browse/JDO-154
> Project: JDO
> Type: Test
> Components: tck20
> Reporter: Craig Russell
> Assignee: Craig Russell
> Attachments: JDO-154.patch
>
> Assertion 12.11-1 PersistenceManager APIs
> Object putUserObject(Object key, Object value); This method models the put method of Map. The current value associated with the key is returned and replaced by the parameter value. If the parameter value is null, the implementation may remove the entry from the table of managed key/value pairs
> Object removeUserObject(Object key); This method models the remove method of Map. The current value associated with the key is re turned and removed
> Object getUserObject(Object key); This method models the get method of Map. The current value associated with the key is returned. If the key is not found in the table, null is returned.
--
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