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: org.apache.openjpa.persistence.test.PersistenceTestCase
Date Wed, 07 Mar 2007 03:50:27 GMT
Patrick-

FYI, I had also put some of that sort of logic in the  
org.apache.openjpa.persistence.test.SingleEMTest base test case.

We might want to consider merging duplicate functionality at some point.



On Mar 6, 2007, at 6:09 PM, Patrick Linskey wrote:

> Hi,
>
> In implementing a new test case for OPENJPA-121, I decided to stop
> copying-and-pasting the setUp() from other test cases, and instead
> create a new PersistenceTestCase base class.
>
> Based on our experience over the last few years, there are a bunch of
> things that would be useful in such a class. I decided to just  
> start off
> with what I needed for my particular test case, though. As we move
> forward, if you run across functionality that you think would make  
> sense
> in a base test case class, please consider putting it into that class.
> One example might be a means to automatically delete all instances of
> the types used by the test case during setUp() and tearDown().
>
> -Patrick
>
> -- 
> Patrick Linskey
> BEA Systems, Inc.
>
> ______________________________________________________________________ 
> _
> Notice:  This email message, together with any attachments, may  
> contain
> information  of  BEA Systems,  Inc.,  its subsidiaries  and   
> affiliated
> entities,  that may be confidential,  proprietary,  copyrighted   
> and/or
> legally privileged, and is intended solely for the use of the  
> individual
> or entity named in this message. If you are not the intended  
> recipient,
> and have received this message in error, please immediately return  
> this
> by email and then delete it.


Mime
View raw message