Test error name is non-empty for the whole range

This commit is contained in:
Dmitry-Me
2015-05-26 16:19:21 +03:00
parent 735ce51124
commit a1beddf486
2 changed files with 11 additions and 1 deletions

View File

@@ -1498,6 +1498,14 @@ int main( int argc, const char ** argv )
delete doc;
}
{
XMLDocument doc;
for( int i = 0; i < XML_ERROR_COUNT; i++ ) {
doc.SetError( (XMLError)i, 0, 0 );
doc.ErrorName();
}
}
// ----------- Performance tracking --------------
{
#if defined( _MSC_VER )