From 10bfd70be143533eb6583913afad5e7e57a10bf5 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Mon, 16 Apr 2012 15:23:24 +0000 Subject: [PATCH] Monotone-Parent: 406832bc51a0849377951d10353a33568b33877b Monotone-Revision: 2fb9aaf01f9b4a29e3d49d6c35deaf48a4e57e9c Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-04-16T15:23:24 --- ChangeLog | 5 +++++ Tests/Unit/SOGoTestRunner.m | 5 +---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8a5189c16..7b26727d2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-04-16 Wolfgang Sourdeau + + * Tests/Unit/SOGoTestRunner.m (-run): do not empty the pool after + each test. + 2012-04-13 Wolfgang Sourdeau * SoObjects/Appointments/SOGoAppointmentFolder.m (-bareFetchFields: ...), diff --git a/Tests/Unit/SOGoTestRunner.m b/Tests/Unit/SOGoTestRunner.m index 2dcaebdff..7d6637c92 100644 --- a/Tests/Unit/SOGoTestRunner.m +++ b/Tests/Unit/SOGoTestRunner.m @@ -68,11 +68,9 @@ NSEnumerator *allTestClasses; NSString *class; SOGoTest *test; - NSAutoreleasePool *pool; int rc; rc = 0; - pool = [NSAutoreleasePool currentPool]; [self retain]; allTestClasses = [[SOGoTest allTestClasses] objectEnumerator]; @@ -83,8 +81,7 @@ [test setTestRunner: self]; if (![test run]) rc |= -1; - [test autorelease]; - [pool emptyPool]; + [test release]; } [self displayReport];