openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rahul Thakur <>
Subject Re: How to unit test the Enhancer?
Date Mon, 22 Jan 2007 22:10:21 GMT
Hi Patrick,

Thanks for the pointer, I think something might be better than nothing - 
I will use this approach to test the Enhancer!

When you say 'majority Kodo test suite has not yet made it into OpenJPA' 
- do you mean that this is scheduled to happen sometime?

If not, are there plans to put together such tests into OpenJPA itself?


Patrick Linskey wrote:
> You could also just test that the class implements
> org.apache.openjpa.enhance.PersistenceCapable. Such a check assumes that
> the OpenJPA enhancement is happening correctly under the covers, but
> should be a good first approximation at least.
> FTR, yes, there are tests for this stuff. Sadly, the majority of the
> Kodo test suite has not yet made it into OpenJPA.
> -Patrick

View raw message