libs-base/Tests/base/NSMutableAttributedString/basic.m
2024-11-16 13:34:56 +00:00

20 lines
572 B
Objective-C

#import <Foundation/NSAutoreleasePool.h>
#import <Foundation/NSAttributedString.h>
#import "ObjectTesting.h"
int main()
{
ENTER_POOL
NSArray *arr;
arr = [NSArray arrayWithObject: AUTORELEASE([NSMutableAttributedString new])];
test_alloc(@"NSMutableAttributedString");
test_NSObject(@"NSMutableAttributedString", arr);
test_NSCoding(arr);
test_keyed_NSCoding(arr);
test_NSCopying(@"NSAttributedString",@"NSMutableAttributedString",arr,NO, NO);
test_NSMutableCopying(@"NSAttributedString",@"NSMutableAttributedString",arr);
LEAVE_POOL
return 0;
}