2011-02-16 08:21:17 +00:00
|
|
|
#import <Foundation/NSAutoreleasePool.h>
|
|
|
|
#import <Foundation/NSAttributedString.h>
|
|
|
|
#import "ObjectTesting.h"
|
|
|
|
int main()
|
|
|
|
{
|
2024-11-15 20:48:09 +00:00
|
|
|
NSAutoreleasePool *arp = [NSAutoreleasePool new];
|
|
|
|
NSArray *arr;
|
|
|
|
|
|
|
|
arr = [NSArray arrayWithObject: AUTORELEASE([NSAttributedString new])];
|
2011-02-16 08:21:17 +00:00
|
|
|
|
|
|
|
test_alloc(@"NSAttributedString");
|
|
|
|
test_NSObject(@"NSAttributedString", arr);
|
|
|
|
test_NSCoding(arr);
|
2013-03-25 11:05:32 +00:00
|
|
|
test_keyed_NSCoding(arr);
|
2011-02-16 08:21:17 +00:00
|
|
|
test_NSCopying(@"NSAttributedString",@"NSMutableAttributedString",arr,NO, NO);
|
|
|
|
test_NSMutableCopying(@"NSAttributedString",@"NSMutableAttributedString",arr);
|
|
|
|
|
|
|
|
[arp release]; arp = nil;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|