ab53439060
Revise dummy handlers to flag when they are executed, and ensure that they are executed in the test. Add XML to get the deprecated unparsed entity handler executed, and ensure that the allocation check fails each possible allocator in sequence despite the caching of some allocations in the parser object. NOTE that this commit does not pass check because of an allocation bug. |
||
---|---|---|
.. | ||
benchmark | ||
.gitignore | ||
chardata.c | ||
chardata.h | ||
memcheck.c | ||
memcheck.h | ||
minicheck.c | ||
minicheck.h | ||
README.txt | ||
runtests.c | ||
runtests.sln | ||
runtests.vcxproj | ||
runtests.vcxproj.filters | ||
runtestspp.cpp | ||
xmltest.log.expected | ||
xmltest.sh |
This directory contains the (fledgling) test suite for Expat. The tests provide general unit testing and regression coverage. The tests are not expected to be useful examples of Expat usage; see the examples/ directory for that. The Expat tests use a partial internal implementation of the "Check" unit testing framework for C. More information on Check can be found at: http://check.sourceforge.net/ Expat must be built and, depending on platform, must be installed, before "make check" can be executed. This test suite can all change in a later version.