mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Add Yavor Doganov's patches for tests and config. Add fixes for GSXML
validation of xml documents
This commit is contained in:
parent
31257785d6
commit
925f1dd5e1
19 changed files with 260 additions and 98 deletions
|
@ -1,10 +1,15 @@
|
|||
#import "ObjectTesting.h"
|
||||
#import <Foundation/NSAutoreleasePool.h>
|
||||
#import <Foundation/NSXMLElement.h>
|
||||
#import "GNUstepBase/GSConfig.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
NSAutoreleasePool *arp = [NSAutoreleasePool new];
|
||||
START_SET("NSXMLElement")
|
||||
#if !GS_USE_LIBXML
|
||||
SKIP("library built without libxml2")
|
||||
#else
|
||||
NSXMLElement *node;
|
||||
NSXMLElement *other;
|
||||
NSXMLElement *xml;
|
||||
|
@ -84,7 +89,8 @@ int main()
|
|||
|
||||
[node release];
|
||||
[other release];
|
||||
|
||||
#endif
|
||||
END_SET("NSXMLElement")
|
||||
[arp release];
|
||||
arp = nil;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue