2011-02-16 08:21:17 +00:00
|
|
|
#import "ObjectTesting.h"
|
|
|
|
#import <Foundation/NSAutoreleasePool.h>
|
|
|
|
#import <Foundation/NSSet.h>
|
|
|
|
|
|
|
|
|
|
|
|
int main()
|
|
|
|
{
|
|
|
|
NSAutoreleasePool *arp = [NSAutoreleasePool new];
|
2025-01-09 09:58:13 +00:00
|
|
|
NSMutableSet *testObj = [NSMutableSet set];
|
2011-02-16 08:21:17 +00:00
|
|
|
test_NSObject(@"NSMutableSet", [NSArray arrayWithObject:testObj]);
|
|
|
|
test_NSCoding([NSArray arrayWithObject:testObj]);
|
|
|
|
test_NSCopying(@"NSSet",@"NSMutableSet",
|
|
|
|
[NSArray arrayWithObject:testObj],NO,NO);
|
|
|
|
test_NSMutableCopying(@"NSSet",@"NSMutableSet",
|
|
|
|
[NSArray arrayWithObject:testObj]);
|
|
|
|
[arp release]; arp = nil;
|
|
|
|
return 0;
|
|
|
|
}
|