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 karan malhi <ka...@gmail.com> on 2005/10/26 17:00:57 UTC

Help me understand this

Hi,

I was looking at "AllOtherTests" on the wiki. I looked at  A8.3-11 which 
is filed as JDO-188 on JIRA.

My understanding is that since A8.3-11 is an assertion for JDOHelper, so 
the methods static Object[] getObjectIds (Object[] pcs); static 
Collection getObjectIds (Collection pcs); should be part of JDOHelper, 
right?
When I look at the JDOHelper javadocs, I do not find the methods 
mentioned by this assertion. So, i would guess that those methods have 
to be added to the api20, correct?

If one writes a test for the assertion, and if the some methods of 
JDOHelper are being tested, then should test class/es should go under 
the api.jdohelper package  or the api.persistencemanager package? The 
reason I ask this is because JDO-188 states that " The test case 
api.persistencemanager.GetObjectIds needs a test method per API. ". I 
thought it should be part of api.jdohelper.GebObjectIds.


-- 
Karan Singh


JDO-188 volunteer

Posted by Craig L Russell <Cr...@Sun.COM>.
Hi,

I asked Michelle to add a discussion of JDO-188 to the agenda for  
tomorrow.

I'd like to get the implementation into api20 quickly, so if we have  
a volunteer to do this, great. But since it's an api20 issue, if no  
one is going to work on it soon, I'll take it.

Please update the JIRA with the volunteer after the meeting so I can  
see whether I need to work on it.

Thanks,

Craig

On Oct 27, 2005, at 12:39 AM, Michael Bouschen wrote:

> Hi Karan,
>
>
>> Hi,
>> I was looking at "AllOtherTests" on the wiki. I looked at  A8.3-11  
>> which is filed as JDO-188 on JIRA.
>> My understanding is that since A8.3-11 is an assertion for  
>> JDOHelper, so the methods static Object[] getObjectIds (Object[]  
>> pcs); static Collection getObjectIds (Collection pcs); should be  
>> part of JDOHelper, right?
>> When I look at the JDOHelper javadocs, I do not find the methods  
>> mentioned by this assertion. So, i would guess that those methods  
>> have to be added to the api20, correct?
>>
>
> Yes, the JDOHelper in api20 does not (yet) provide the static  
> methods getObjectIds(Object[] pcs) and getObjectIds (Collection  
> pcs). They need to be added.
>
>
>> If one writes a test for the assertion, and if the some methods of  
>> JDOHelper are being tested, then should test class/es should go  
>> under the api.jdohelper package  or the api.persistencemanager  
>> package? The reason I ask this is because JDO-188 states that "  
>> The test case api.persistencemanager.GetObjectIds needs a test  
>> method per API. ". I thought it should be part of  
>> api.jdohelper.GebObjectIds.
>>
>
> I agree, the test class should GetObjectIds go in package  
> api.jdohelper and not in api.peristencemanager as stated in JDO-188.
>
> Regards Michael
>
>
>
> -- 
> Michael Bouschen        Tech@Spree Engineering GmbH
> mailto:mbo.tech@spree.de    http://www.tech.spree.de/
> Tel.:++49/30/235 520-33        Buelowstr. 66
> Fax.:++49/30/2175 2012        D-10783 Berlin
>


Re: Help me understand this

Posted by Michael Bouschen <mb...@spree.de>.
Hi Karan,

> Hi,
> 
> I was looking at "AllOtherTests" on the wiki. I looked at  A8.3-11 which 
> is filed as JDO-188 on JIRA.
> 
> My understanding is that since A8.3-11 is an assertion for JDOHelper, so 
> the methods static Object[] getObjectIds (Object[] pcs); static 
> Collection getObjectIds (Collection pcs); should be part of JDOHelper, 
> right?
> When I look at the JDOHelper javadocs, I do not find the methods 
> mentioned by this assertion. So, i would guess that those methods have 
> to be added to the api20, correct?

Yes, the JDOHelper in api20 does not (yet) provide the static methods 
getObjectIds(Object[] pcs) and getObjectIds (Collection pcs). They need 
to be added.

> 
> If one writes a test for the assertion, and if the some methods of 
> JDOHelper are being tested, then should test class/es should go under 
> the api.jdohelper package  or the api.persistencemanager package? The 
> reason I ask this is because JDO-188 states that " The test case 
> api.persistencemanager.GetObjectIds needs a test method per API. ". I 
> thought it should be part of api.jdohelper.GebObjectIds.

I agree, the test class should GetObjectIds go in package api.jdohelper 
and not in api.peristencemanager as stated in JDO-188.

Regards Michael

> 
> 


-- 
Michael Bouschen		Tech@Spree Engineering GmbH
mailto:mbo.tech@spree.de	http://www.tech.spree.de/
Tel.:++49/30/235 520-33		Buelowstr. 66			
Fax.:++49/30/2175 2012		D-10783 Berlin