[jira] Updated: (JDO-188) Add tests for static JDOHelper.getObjectIds methods
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache JDO Project > [jira] Updated: (JDO-188) Add tests for static JDOHelper.getObjectIds methods




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    [jira] Updated: (JDO-188) Add tests for static JDOHelper.getObjectIds methods  
Craig Russell (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-31-05 07:45 AM

[ http://issues.apache.org/jira/browse/JDO-188?page=all ]

Craig Russell updated JDO-188:
------------------------------

Attachment: jdo-188.patch

This patch includes comments from Michael (thanks, I missed the cleanup of t
he second PM), an update to the alltests.conf, and a slightly different impl
ementation of JDOHelper.getObjectIds(Object[ ]).

I plan to check it in tomorrow.


> Add tests for static JDOHelper.getObjectIds methods
> ---------------------------------------------------
>
>          Key: JDO-188
>          URL: http://issues.apache.org/jira/browse/JDO-188
>      Project: JDO
>         Type: Test
>   Components: tck20
>  Environment: TCK
>     Reporter: Craig Russell
>     Assignee: Craig Russell
>  Attachments: jdo-188.patch, jdo-188.patch
>
> A8.3-11 [static Object[] getObjectIds (Object[] pcs); static Collectio
n getObjectIds (Collection pcs); These methods return the JDO identities of the para
meter instances. For each instance in the parameter, the getObjectId method is calle
d. They return
one identity instance for each persistence-capable instance in the parameter. The order of i
teration of the returned Collection exactly matches the order of iteration of the parameter 
Collection].
> The test case api.persistencemanager.GetObjectIds needs a test method per 
API.
> The setUp method creates 50 persistent instances of type PCPoint and stores the id
s in an ArrayList and the instances in a separate ArrayList. The test case call getO
bjectIds and verify that the object ids returned match the objects ids that are in t
he
list.
> There are no negative tests.

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







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:05 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register