mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +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
|
@ -2,10 +2,15 @@
|
|||
#import <Foundation/NSAutoreleasePool.h>
|
||||
#import <Foundation/NSXMLNode.h>
|
||||
#import <Foundation/NSValue.h>
|
||||
#import "GNUstepBase/GSConfig.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
NSAutoreleasePool *arp = [NSAutoreleasePool new];
|
||||
START_SET("NSXMLNode")
|
||||
#if !GS_USE_LIBXML
|
||||
SKIP("library built without libxml2")
|
||||
#else
|
||||
NSXMLNode *node;
|
||||
NSXMLNode *other;
|
||||
NSXMLNode *text;
|
||||
|
@ -111,7 +116,9 @@ int main()
|
|||
[attr setStringValue: @"aString"];
|
||||
PASS_EQUAL([attr stringValue], @"aString",
|
||||
"setting string value on attr node works");
|
||||
#endif
|
||||
|
||||
END_SET("NSXMLNode")
|
||||
[arp release];
|
||||
arp = nil;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue