db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Watzek <mwa.t...@spree.de>
Subject Patch for adding tear down classes
Date Mon, 27 Jun 2005 16:29:35 GMT

please find the patch for adding tear down classes attached.

The background of this patch is a duplicate error that several test 
cases threw. This patch adds tear down classes to all test cases which 
create persistent objects.

Furthermore, this patch fixes some tests that added tear down instances. 
Those tests added transient instances: The instances were added before 
makePersistent was called. In this case, the current implementation of 
all tear down methods is silent. Should we change the implementation in 
order to throw an exception?

Please note that the attached patch does not change tear down methods.

Michael Watzek                  Tech@Spree Engineering GmbH
mailto:mwa.tech@spree.de        Buelowstr. 66
Tel.:  ++49/30/235 520 36       10783 Berlin - Germany
Fax.:  ++49/30/217 520 12       http://www.spree.de/

View raw message