libs-base/Tests/base/NSMutableDictionary/basic.m

26 lines
737 B
Mathematica
Raw Normal View History

#import "ObjectTesting.h"
#import <Foundation/NSAutoreleasePool.h>
#import <Foundation/NSDictionary.h>
int main()
{
NSAutoreleasePool *arp = [NSAutoreleasePool new];
NSMutableDictionary *testObj;
2024-11-16 13:34:56 +00:00
testObj = [NSMutableDictionary dictionary];
test_NSObject(@"NSMutableDictionary", [NSArray arrayWithObject:testObj]);
test_NSCoding([NSArray arrayWithObject:testObj]);
test_keyed_NSCoding([NSArray arrayWithObject:testObj]);
test_NSCopying(@"NSDictionary",@"NSMutableDictionary",
[NSArray arrayWithObject:testObj], NO, NO);
test_NSMutableCopying(@"NSDictionary",@"NSMutableDictionary",
[NSArray arrayWithObject:testObj]);
[arp release]; arp = nil;
return 0;
}