Searched refs:XmlTest (Results 1 – 1 of 1) sorted by relevance
/third_party/lame/ACM/tinyxml/ |
D | xmltest.cpp | 12 bool XmlTest( const char* testString, T expected, T found, bool noEcho = false ) in XmlTest() function 206 XmlTest( "Output stream correct.", string( demoEnd ), outputStream.str(), true ); in main() 209 XmlTest( "Root element exists.", true, ( node != 0 && node->ToElement() ) ); in main() 210 XmlTest( "Root element value is 'ToDo'.", string( "ToDo" ), node->Value() ); in main() 212 XmlTest( "First child exists & is a comment.", true, ( node != 0 && node->ToComment() ) ); in main() 214 XmlTest( "Sibling element exists & is an element.", true, ( node != 0 && node->ToElement() ) ); in main() 215 XmlTest( "Value is 'Item'.", string( "Item" ), node->Value() ); in main() 217 XmlTest( "First child exists.", true, ( node != 0 && node->ToText() ) ); in main() 218 XmlTest( "Value is 'Go to the'.", string( "Go to the" ), node->Value() ); in main() 231 XmlTest( "Top level nodes, using First / Next.", 3, count ); in main() [all …]
|