openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abe White <awh...@bea.com>
Subject Re: svn commit: r465623 - in /incubator/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/generationtype: ./ IdentityGenerationType.java TestGenerationType.java
Date Thu, 19 Oct 2006 19:50:40 GMT
> [ x] Separate setUp() and tearDown()
> [ ] Separate setUp() and tearDown(), but setUp() invokes tearDown()
> [ ] Typically no tearDown(); put cleanup logic in setUp()
> [ ] Other. Please describe.

IMO, if we're diligent in writing proper tearDown methods, there's no  
reason to put the tearDown logic in setUp.  The only reason we got  
into that habit in Kodo was that we were sloppy with our test case  
cleanup.
_______________________________________________________________________
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