|
Home > Archive > Apache JDO Project > October 2005 > [jira] Resolved: (JDO-154) Add tests for getUserObject, putUserObject, removeUserObjec
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
[jira] Resolved: (JDO-154) Add tests for getUserObject, putUserObject, removeUserObjec
|
|
| Craig Russell (JIRA) 2005-10-20, 5:45 pm |
| [ 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/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
|
|
|
|
|