Issue Details (XML | Word | Printable)

Key: JDO-154
Type: Test Test
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Craig Russell
Reporter: Craig Russell
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JDO

Add tests for getUserObject, putUserObject, removeUserObject

Created: 02/Oct/05 10:16 PM   Updated: 23/Apr/06 03:10 AM
Return to search
Component/s: tck2
Affects Version/s: None
Fix Version/s: JDO 2 beta

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works JDO-154.patch 2005-10-02 10:23 PM Craig Russell 5 kB

Resolution Date: 23/Apr/06 03:10 AM


 Description  « Hide
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.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #326179 Tue Oct 18 17:44:08 UTC 2005 clr JDO-154 new tests for user object
Files Changed
ADD /incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/api/persistencemanager/GetPutRemoveUserObject.java