commit | a1beddf48624e6facf4e2fccccd745f954d02a5d | [log] [tgz] |
---|---|---|
author | Dmitry-Me <wipedout@yandex.ru> | Tue May 26 16:19:21 2015 +0300 |
committer | Dmitry-Me <wipedout@yandex.ru> | Tue May 26 16:19:21 2015 +0300 |
tree | 3ec481fa4848a47f0290bb95714bf97b376aa68e | |
parent | 735ce51124e8a0856d2737795862a5c4e30f0fbb [diff] [blame] |
Test error name is non-empty for the whole range
diff --git a/xmltest.cpp b/xmltest.cpp index 5e0eb3a..1c04668 100644 --- a/xmltest.cpp +++ b/xmltest.cpp
@@ -1498,6 +1498,14 @@ 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 )