libs-base/Tests/base/NSBundle/basic.m
2024-11-15 20:48:09 +00:00

14 lines
331 B
Objective-C

#import "ObjectTesting.h"
#import <Foundation/NSBundle.h>
#import <Foundation/NSAutoreleasePool.h>
int main()
{
NSAutoreleasePool *arp = [NSAutoreleasePool new];
test_alloc(@"NSBundle");
test_NSObject(@"NSBundle",
[NSArray arrayWithObject: AUTORELEASE([NSBundle new])]);
[arp release]; arp = nil;
return 0;
}