2011-02-16 08:21:17 +00:00
|
|
|
#import "ObjectTesting.h"
|
|
|
|
#import <Foundation/NSAutoreleasePool.h>
|
|
|
|
#import <Foundation/NSCharacterSet.h>
|
|
|
|
|
|
|
|
int main()
|
|
|
|
{
|
|
|
|
NSAutoreleasePool *arp = [NSAutoreleasePool new];
|
2024-11-16 13:34:56 +00:00
|
|
|
id testObj = AUTORELEASE([NSMutableCharacterSet new]);
|
|
|
|
|
2011-02-16 08:21:17 +00:00
|
|
|
test_alloc(@"NSMutableCharacterSet");
|
|
|
|
test_NSObject(@"NSMutableCharacterSet",[NSArray arrayWithObject:testObj]);
|
|
|
|
test_NSCoding([NSArray arrayWithObject:testObj]);
|
|
|
|
test_NSCopying(@"NSCharacterSet", @"NSMutableCharacterSet",
|
|
|
|
[NSArray arrayWithObject:testObj], NO, NO);
|
|
|
|
test_NSMutableCopying(@"NSCharacterSet", @"NSMutableCharacterSet",
|
|
|
|
[NSArray arrayWithObject:testObj]);
|
|
|
|
[arp release]; arp = nil;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|