Re: Build failed in Hudson: Cayenne-trunk ยป HSQ LDB,JDK 1.6 (latest),Ubuntu #327

2010-06-14 Thread Andrus Adamchik
On Jun 14, 2010, at 7:02 PM, Apache Hudson Server wrote: Failed tests: testDeleteSameEntityQualifier (org.apache.cayenne.access.DataContextEJBQLDeleteTest) I think I know the reason for this failure. Will take a look a bit later. Andrus

Unit tests + injection

2010-06-14 Thread Andrus Adamchik
Did a bit of unit test hacking while on the plane last night. Just checked in some pretty good early results. We are still bound by JUnit 3 lifecycle simplicity and have to use static singletons, still I was able to build a little framework for dependency injection into the test cases, with