openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Prud'hommeaux <mprud...@apache.org>
Subject Re: How to unit test the Enhancer?
Date Sun, 21 Jan 2007 02:00:30 GMT
Rahul-

If it worked, then the persistence tests should pass. E.g., the  
following should work from the top-level of the project:

   mvn clean test -Dtest=TestPersistence -Dopenjpa.loglevel=trace



On Jan 20, 2007, at 5:49 PM, Rahul Thakur wrote:

> Hi,
>
> I'd like to put together a couple of unit tests for the Enhancer  
> mojo. For this I had a look at openjpa-kernel module where the  
> PCEnhancer is located but could not find any tests.
>
> How can I test if a persistence-enabled class has been enhanced as  
> expected from a unit test? Appreciate any pointers.
>
> Cheers,
> Rahul


Mime
View raw message