Differences From Artifact [aa69694177]:
- File
tests/OFAutoreleasePool/OFAutoreleasePool.m
— part of check-in
[2a4aa05a84]
at
2009-05-05 12:05:06
on branch trunk
— Rename OFArray to OFDataArray and add a new OFArray which stores objects.
Additionally, change OFAutoreleasePool to use the new OFArray.And while at it, change #import <config.h> in some files to
#import "config.h". (user: js, size: 1889) [annotate] [blame] [check-ins using]
To Artifact [558bb07388]:
- File tests/OFAutoreleasePool/OFAutoreleasePool.m — part of check-in [4f4f619d84] at 2009-05-13 17:58:50 on branch trunk — Also release pools that are on top of the pool being released. (user: js, size: 1842) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
93 94 95 96 97 98 99 | [pool1 releaseObjects]; o2 = [[[OFObject alloc] init] autorelease]; pool2 = [[OFAutoreleasePool alloc] init]; o3 = [[[OFObject alloc] init] autorelease]; | < < < | | 93 94 95 96 97 98 99 100 101 102 103 | [pool1 releaseObjects]; o2 = [[[OFObject alloc] init] autorelease]; pool2 = [[OFAutoreleasePool alloc] init]; o3 = [[[OFObject alloc] init] autorelease]; [pool1 release]; return (inits == 20 && retains == 5 && releases == 16 ? 0 : 1); } |