2011-02-16 08:21:17 +00:00
|
|
|
#import <Foundation/NSAutoreleasePool.h>
|
|
|
|
#import <Foundation/NSAttributedString.h>
|
|
|
|
#import "ObjectTesting.h"
|
|
|
|
int main()
|
|
|
|
{
|
|
|
|
NSAutoreleasePool *arp = [NSAutoreleasePool new];
|
|
|
|
NSArray *arr = [NSArray arrayWithObject:[NSMutableAttributedString new]];
|
|
|
|
|
|
|
|
test_alloc(@"NSMutableAttributedString");
|
|
|
|
test_NSObject(@"NSMutableAttributedString", 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;
|
|
|
|
}
|
|
|
|
|