Commit 9d5acfe5 authored by Pavel Vainerman's avatar Pavel Vainerman

update tests

parent d3920fe4
...@@ -12,15 +12,15 @@ int main() ...@@ -12,15 +12,15 @@ int main()
{ {
*/ */
UniXML xml("test.xml"); UniXML xml("test.xml");
xmlNode* cnode = xml.findNode(xml.getFirstNode(),"UniSet"); xmlNode* cnode = xml.findNode(xml.getFirstNode(),"UniSet");
if( cnode == NULL ) if( cnode == NULL )
{ {
cerr << "<testnode> not found" << endl; cerr << "<testnode> not found" << endl;
return 1; return 1;
} }
UniXML_iterator it(cnode); UniXML_iterator it(cnode);
cout << "string id=" << it.getProp("id") cout << "string id=" << it.getProp("id")
<< " int id=" << it.getIntProp("id") << " int id=" << it.getIntProp("id")
<< endl; << endl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment