test cases in progress

This commit is contained in:
Lee Thomason
2012-01-18 17:55:48 -08:00
parent 8a5dfee8ce
commit dadcdfad4a
4 changed files with 54 additions and 10 deletions

View File

@@ -28,11 +28,15 @@ int main( int argc, const char* argv )
}
#endif
{
static const char* test = "<element />";
XMLDocument doc;
doc.Parse( test );
doc.Print( stdout );
static const char* test[] = { "<element />",
"<element></element>",
0
};
for( const char* t=test[0]; *t; ++t ) {
XMLDocument doc;
doc.Parse( t );
doc.Print( stdout );
}
}
return 0;
}