mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
* Tests/base/NSXMLNode/basic.m: Correct test for
text node. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34708 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a43c970b66
commit
c095336eeb
2 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2012-02-03 09:15-EST Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
* Tests/base/NSXMLNode/basic.m: Correct test for
|
||||
text node.
|
||||
|
||||
2012-02-02 22:57-EST Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
* Source/NSXMLDocument.m: Remove commented out code
|
||||
|
|
|
@ -71,6 +71,13 @@ int main()
|
|||
PASS([node isEqual: other],
|
||||
"Nodes with the same attributes are equal");
|
||||
|
||||
[other setStringValue: @"value"];
|
||||
PASS(![node isEqual: other],
|
||||
"Nodes with different values are NOT equal");
|
||||
|
||||
[node setStringValue: @"value"];
|
||||
PASS([node isEqual: other],
|
||||
"Nodes with different values are equal");
|
||||
|
||||
[node release];
|
||||
[other release];
|
||||
|
|
Loading…
Reference in a new issue