mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Update testcses to cover both parsers
This commit is contained in:
parent
ca2abf51f7
commit
2b704dd9d4
2 changed files with 34 additions and 12 deletions
|
@ -5,10 +5,16 @@ int main()
|
|||
{
|
||||
NSAutoreleasePool *arp = [NSAutoreleasePool new];
|
||||
NSXMLParser *parser;
|
||||
Class c = NSClassFromString(@"GSSloppyXMLParser");
|
||||
|
||||
parser = [c new];
|
||||
test_alloc(@"GSSloppyXMLParser");
|
||||
test_NSObject(@"GSSloppyXMLParser", [NSArray arrayWithObject: parser]);
|
||||
|
||||
parser = [NSXMLParser new];
|
||||
test_alloc(@"NSXMLParser");
|
||||
test_NSObject(@"NSXMLParser", [NSArray arrayWithObject: parser]);
|
||||
|
||||
[arp release]; arp = nil;
|
||||
|
||||
/* Don't release the parser ... it appears that on OSX there is a bug in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue