Gregory Block wrote:


(My apologies to the list for signed mail; as I can't disable it for the list, I've removed it entirely from my config.)


On 20 Jul 2004, at 17:35, Bruce Snyder wrote:

My apologies for not responding sooner. I'll look into this tonight. Consequently, the best way to get a patch the attention it deserves is to write a JUnit test for it that will play nice with the CTF-JDO (http://www.castor.org/test-framework.html). Before applying the patch, a test will need to written to verify the bug and patch.


Matter of fact, I think that needs to generally be done with all of the test cases for collections, quite frankly. They should be tested with:


- automatic recognition of public <list-type> getThing() and <list-type> setThing()
- automatic recognition of public <list-type> getThing() and <item-type> addThing()
- manual get/set definition of public <list-type> getThing() and <list-type> addThing()
- manual get/set defintion of public <list-type> getThing() and <item-type> addThing()


Perhaps that's better done as multiple mapping files? Dunno - dunno how the test framework works, and I can't see where I'm meant to configure it to use my database. :) Someone want to explain how to configure the JDO test framework? :)

Gregory,

That's a good idea, I agree. Care to contribute some time to adding this to the Collections tests? ;-)

Bruce
--
perl -e 'print unpack("u30","<0G)[EMAIL PROTECTED]&5R\\"F9E<G)E=\\$\\!F<FEI+F-O;0\\`\\`");'


The Castor Project
http://www.castor.org/

Apache Geronimo
http://incubator.apache.org/projects/geronimo.html



----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev

Reply via email to