Lines Matching refs:XmlTest
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()
240 XmlTest( "Top level nodes, using Last / Previous.", 3, count ); in main()
251 XmlTest( "Top level nodes, using IterateChildren.", 3, count ); in main()
261 XmlTest( "Children of the 'ToDo' element, using First / Next.", in main()
272 XmlTest( "'Item' children of the 'ToDo' element, using First/Next.", 3, count ); in main()
281 XmlTest( "'Item' children of the 'ToDo' element, using Last/Previous.", 3, count ); in main()
290 XmlTest( "Element parsed, value is 'Element0'.", string( "Element0" ), element0.Value() ); in main()
291 …XmlTest( "Reads attribute 'attribute0=\"foo0\"'.", string( "foo0" ), *( element0.Attribute( "attri… in main()
292 …XmlTest( "Reads incorrectly formatted 'attribute1=noquotes'.", string( "noquotes" ), *( element0.A… in main()
293 …XmlTest( "Read attribute with entity value '>'.", string( ">" ), *( element0.Attribute( "attribute… in main()
309 XmlTest( "Stream round trip correct.", string( demoEnd ), outputStream0.str(), true ); in main()
319 XmlTest( "Condense white space OFF.", string( "This is \ntext" ), in main()