libexpat/expat/tests
Fred L. Drake, Jr. 2bba3d20f5 Deal with issue discussed in SF patch #820946: Expat doesn't handle
the use of modified default calling conventions in client code.

To deal with this issue and generally clean up the mass of macros
being used to support bits of the machinery, two new macros are being
added:

- XMLCALL, which expands to whatever is needed to nail down the
  calling convention for all calls across the library boundary.  This
  must match the convention used for the system's malloc()
  implementation.

- XMLIMPORT, defined to be whatever magic is needed to mark an entry
  point as imported from a dynamically loaded module (.dll, .so, .sl,
  whatever).

These macros are used to define the XMLPARSEAPI macro already being
used to define the API entry points.  In addition, XMLCALL is used to
define the types of callback functions, and all example code uses this
explicitly in both the distributed applications and the documentation.
2003-10-15 16:25:44 +00:00
..
benchmark Corrected typo. 2003-09-05 00:42:46 +00:00
.gitignore Update to Karl's version of this script, and use the latest version of 2002-09-03 23:19:30 +00:00
chardata.c Put in a little protection against the developer not having the check 2003-10-09 21:32:28 +00:00
chardata.h Add a small comment to tell what this is. 2002-05-22 20:20:05 +00:00
README.txt De-tabify. 2002-07-09 20:50:04 +00:00
runtests.c Deal with issue discussed in SF patch #820946: Expat doesn't handle 2003-10-15 16:25:44 +00:00
xmltest.sh Included "invalid" test cases, to check if the parser reports them 2002-09-04 03:04:44 +00:00

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 the "Check" unit testing framework for C.  More
information on Check can be found at:

        http://check.sourceforge.net/

Check 0.8 must be installed before the unit tests can be compiled & run.

Since both Check and this test suite are young, it can all change in a
later version.