mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
add test for Ludovic
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35974 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8f665684bd
commit
c5bb020a5b
2 changed files with 13 additions and 0 deletions
BIN
Tests/base/PropertyLists/props
Normal file
BIN
Tests/base/PropertyLists/props
Normal file
Binary file not shown.
|
@ -315,6 +315,19 @@ int main()
|
|||
"We can generate a property list from an array containing various things");
|
||||
}
|
||||
}
|
||||
#if defined(GNUSTEP_BASE_LIBRARY)
|
||||
{
|
||||
NSData *d = [NSData dataWithContentsOfFile: @"props"];
|
||||
NSPropertyListFormat format;
|
||||
id u;
|
||||
|
||||
u = [NSPropertyListSerialization propertyListFromData: d
|
||||
mutabilityOption: NSPropertyListImmutable
|
||||
format: &format
|
||||
errorDescription: 0];
|
||||
PASS(nil != u, "parses complex plist");
|
||||
}
|
||||
#endif
|
||||
|
||||
[arp release]; arp = nil;
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue