|
Home > Archive > Apache JDO Project > June 2005 > Patch for adding tear down classes
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Patch for adding tear down classes
|
|
| Michael Watzek 2005-06-27, 5:45 pm |
| Hi,
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.
Regards,
Michael
--
-------------------------------------------------------------------
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/
-------------------------------------------------------------------
| |
| Michael Watzek 2005-06-27, 5:45 pm |
| I forgot to attach the statistics of a TCK run with this patch:
application identity:
Tests run: 350, Failures: 8, Errors: 67, Time: 224 seconds.
datastore identity:
Tests run: 350, Failures: 9, Errors: 69, Time: 209 seconds.
Regards,
Michael
--
-------------------------------------------------------------------
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/
-------------------------------------------------------------------
|
|
|
|
|