import testsuite

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32187 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2011-02-16 08:21:17 +00:00
parent 734c214892
commit 0e02133729
374 changed files with 20864 additions and 0 deletions

View file

@ -0,0 +1,31 @@
/*
copyright 2004 Alexander Malmberg <alexander@malmberg.org>
*/
#import <Foundation/NSAutoreleasePool.h>
#import <Foundation/NSString.h>
#import "Testing.h"
int main(int argc, char **argv)
{
id plist;
NSAutoreleasePool *arp = [NSAutoreleasePool new];
plist=[[NSString stringWithContentsOfFile: @"non_ascii_utf8.plist"] propertyList];
PASS(plist!=nil, "utf8 plist works");
plist=[[NSString stringWithContentsOfFile: @"non_ascii_utf16.plist"] propertyList];
PASS(plist!=nil, "utf16 plist works");
plist=[[NSString stringWithContentsOfFile: @"non_ascii_utf8.strings"] propertyListFromStringsFileFormat];
PASS(plist!=nil, "utf8 strings file works");
plist=[[NSString stringWithContentsOfFile: @"non_ascii_utf16.strings"] propertyListFromStringsFileFormat];
PASS(plist!=nil, "utf16 strings file works");
[arp release]; arp = nil;
return 0;
}