Rhodri James
726ec0d23e
Test XML_UseForeignDTD()
2017-02-18 18:59:34 +01:00
Rhodri James
3bbd6df22f
Add coverage test for DTD element declarations with contents
2017-02-18 18:54:27 +01:00
Rhodri James
398628cf4a
Test XML_DefaultCurrent() passes on handling correctly
2017-02-18 18:36:57 +01:00
Rhodri James
fa8192757d
Test memory allocation functions
2017-02-18 18:23:39 +01:00
Rhodri James
8a8bdc1092
Refactor allocation tests to reduce boilerplate
2017-02-18 18:19:58 +01:00
Rhodri James
4373471d80
Test allocation failure handling in DTD elements
2017-02-18 18:13:39 +01:00
Rhodri James
865bb305fe
Extend test coverage of external entity allocation failures
2017-02-18 18:08:00 +01:00
Rhodri James
a085b6bc3a
Test that unrecognised encodings are rejected
2017-02-18 17:58:16 +01:00
Rhodri James
3159be0ee9
Add test for allocation failures in internal entity encoding handler
2017-02-18 17:55:50 +01:00
Rhodri James
b1ed3b5871
Tweak tests to catch more allocation failure branches
2017-02-18 17:50:01 +01:00
Rhodri James
83bc31bfd3
Test namespace parsing with allocation failures
2017-02-18 17:47:54 +01:00
Rhodri James
cd1c016159
Test allocation failures during external entity parsing
2017-02-18 17:40:10 +01:00
Rhodri James
69c66034fe
Remove unused variable and fix comment. No functional changes.
2017-02-14 23:45:32 +01:00
Rhodri James
4499b07ad8
Add a test for DTD duplication allocation failure
2017-01-31 15:34:30 +00:00
Rhodri James
a35beed126
Add a test case for external entity parser allocation failures.
2017-01-30 17:51:50 +00:00
Rhodri James
0d2018f9bc
Add a test case to cover allocation failures in parserCreate()
2017-01-30 16:03:23 +00:00
Karl Waclawek
309ad17f97
Added Visual Studio 2013 solution/project files. Will also work in Visual Studio 2015 if VS 2013 is installed. Otherwise, open a "Visual Studio 2015 Developer Command Prompt" and execute "devenv.exe /upgrade expat.sln" in the expat directory to upgrade the main solution and project files (Tests have their own solutions).
2016-06-17 14:34:46 -04:00
Sebastian Pipping
92da19f153
Resolve COMPILING_FOR_WINDOWS (ex COMPILED_FROM_DSP) in favor of WIN32
2016-06-13 17:05:16 +02:00
Sebastian Pipping
f00e1d752a
Handle lack of __func__ with ISO C90
...
Bug reported by László Böszörményi
2016-06-04 22:17:03 +02:00
Sebastian Pipping
0b51c25a09
Sync .gitignore
2016-05-28 19:55:40 +02:00
Sebastian Pipping
be917d9f84
Cover UTF-8 limit correction; some tests fail
...
Failing tests are:
[-] UTF-8 case 3: Expected movement by -1 chars, actually moved by 0 chars: "\xdf"
[-] UTF-8 case 4: Expected movement by 0 chars, actually moved by -1 chars: "\xdf\xbf"
[-] UTF-8 case 5: Expected movement by -1 chars, actually moved by 0 chars: "\xef"
[-] UTF-8 case 6: Expected movement by -2 chars, actually moved by -1 chars: "\xef\xbf"
[-] UTF-8 case 7: Expected movement by 0 chars, actually moved by -2 chars: "\xef\xbf\xbf"
[-] UTF-8 case 8: Expected movement by -1 chars, actually moved by 0 chars: "\xf7"
[-] UTF-8 case 9: Expected movement by -2 chars, actually moved by -1 chars: "\xf7\xbf"
[-] UTF-8 case 10: Expected movement by -3 chars, actually moved by -2 chars: "\xf7\xbf\xbf"
[-] UTF-8 case 11: Expected movement by 0 chars, actually moved by -3 chars: "\xf7\xbf\xbf\xbf"
2016-05-20 22:29:47 +02:00
Sebastian Pipping
69746f5ab2
Address all "unused parameter" warnings
2016-05-07 17:24:35 +02:00
Sebastian Pipping
379213ca19
Have "make run-xmltest" report on expected output
2016-05-01 16:01:51 +02:00
Sebastian Pipping
2b289b1e78
Fix "make run-xmltest"
2016-04-30 21:11:02 +02:00
Sebastian Pipping
023ed44edd
Tests: Cover CDATA sections
2016-03-31 23:19:22 +02:00
Sebastian Pipping
d839aecc61
Tests: Parse XML one byte at a time
2016-03-31 18:53:03 +02:00
Sebastian Pipping
3bd715bf75
Address "comparison between signed and unsigned integer" warnings
2016-03-28 21:24:36 +02:00
Sebastian Pipping
934bcb0ac6
Address warnings on const correctness
2016-03-28 21:18:29 +02:00
Sebastian Pipping
bdee307f19
Turn COMPILED_FROM_DSP into COMPILING_FOR_WINDOWS
...
.. since it is used with that semantic by now
2016-03-28 18:18:09 +02:00
Gilles Espinasse
b3b07679ee
Remove pre-2.0.0 leftovers of using "check" unit testing library
2016-03-12 02:31:29 +01:00
Karl Waclawek
62649c54c3
- Added check for CXX compiler to configure.in, to make the tests compile
...
- Fixed invalid pointer cast (on 64bit systems) in runtests.c
2012-03-03 23:45:53 +00:00
Karl Waclawek
77ef094a01
Applied patch #3120699 with modifications.
2012-02-26 14:36:31 +00:00
Karl Waclawek
cd7f0cdc29
Added Windows project files (same VC++ 6.0 format as the others) and
...
modified minicheck.h to build under Windows.
2012-02-21 03:49:47 +00:00
Karl Waclawek
a389cc4721
Modified Windows project files to import properly into Visual Studio 2010.
2012-02-21 03:45:40 +00:00
Sebastian Pipping
63bc81813c
- Move diff to unified
...
- Hint about variable modification inside script (not through environment)
- Integrate forgotten case ibm/not-wf/p28a (only case with lower p)
- Tell we expected not well-formed when we do instead of the opposite
2008-08-03 18:19:12 +00:00
Steven Solie
220b5e566d
Removed need for amiga_main().
2007-06-03 15:00:09 +00:00
Fred L. Drake, Jr.
6788d83616
SF bug #1515266 : as noted, suspending the parser has the same problem that
...
the abort code has; added a check and regression test or that
2006-07-01 15:30:38 +00:00
Fred L. Drake, Jr.
66cc81dd7c
SF bug #1515266 : missing check of stopped parser in doContext() for loop
...
(added regression test, closing bug report)
2006-07-01 15:01:00 +00:00
Fred L. Drake, Jr.
60391fb209
if the test reports a failure message, always display it (it was
...
ignored); it makes no sense to ever hide this, so we don't worry about
the verbosity setting for this
2006-07-01 14:54:06 +00:00
Fred L. Drake, Jr.
3e3b98df8a
- suppress compiler warning when the tests are built with C++
...
- remove non-implemented forking API from minicheck; it is not used, and
we always use minicheck instead of check
2006-07-01 02:34:50 +00:00
Karl Waclawek
74a3f4673d
Modified code to use XML_ParserReset() instead of creating a new
...
parser instance on each iteration of the main loop.
2006-04-07 20:25:43 +00:00
Karl Waclawek
65fb6b9167
Applied patch #1437840 . Fix for bugs #1414066 and #1033965 .
2006-03-06 14:24:36 +00:00
Karl Waclawek
efcfaa79a9
Added support for XML_LARGE_SIZE.
2006-01-01 21:17:41 +00:00
Karl Waclawek
0e0d422f6c
Small corrections.
2006-01-01 18:53:44 +00:00
Karl Waclawek
ba0482ed78
Adjusted to the new return type of XML_GetCurrentLineNumber
...
and XML_GetCurrentColumnNumber when XML_LARGE_SIZE is defined.
2005-12-28 06:06:11 +00:00
Karl Waclawek
b23cb5cb6a
Updated to reflect that we use our own Check implementation now.
2005-12-28 06:03:29 +00:00
Steven Solie
0845031711
*** empty log message ***
2005-12-24 06:34:24 +00:00
Fred L. Drake, Jr.
e2677da42c
make errors reported display more like GCC error messages, so editors
...
like Emacs can provide functions like "go to next error", etc.
2005-01-28 16:16:14 +00:00
Fred L. Drake, Jr.
99682bfd28
implement verbose mode in minicheck to make it easier to determine which
...
tests failed
2005-01-28 06:32:31 +00:00
Fred L. Drake, Jr.
a1391e586a
make all C strings ASCII (7-bits) to avoid editors from trying to
...
re-encode the source text incorrectly; we really want the input data to
be exactly what it should be
2005-01-28 05:41:56 +00:00
Fred L. Drake, Jr.
537b806d7e
test using Expat from C++
...
(closes SF bug #1006708 )
2005-01-28 05:19:53 +00:00
Fred L. Drake, Jr.
ee9719230c
remove use of the check library; always use our own testing package
...
(this reduces variables and simplifies the build process)
2005-01-27 06:27:57 +00:00
Fred L. Drake, Jr.
467731ab14
make the headers for support code more C++ friendly
2004-09-30 04:58:09 +00:00
Fred L. Drake, Jr.
0699f3c162
convert MSVC project and workspace files to binary files that must always
...
use the DOS/Windows CR-LF line end convention
(closes SF bug #1007088 )
2004-09-30 02:47:03 +00:00
Fred L. Drake, Jr.
78ee5b3911
- avoided assumptions that glob patterns before a trailing slash will
...
be expanded; this seems to be a problem in some non-bash shells
(see SF bug #1033923 )
- move counter updates to a shared function
- modified one of the output messages to be (hopefully) less confusing
2004-09-30 02:34:48 +00:00
Fred L. Drake, Jr.
c82f512b97
update tests to reflect that a more specific error message is being generated
...
for some cases
2004-07-15 23:29:25 +00:00
Fred L. Drake, Jr.
1044e5b3e1
- avoid using the "check" library's suite_free() function; it is not
...
available in all versions of the library, and srunner_free() is
sufficient
(closes SF bug #985192 )
- avoid some compiler warnings
2004-07-15 22:54:19 +00:00
Fred L. Drake, Jr.
d1df594ca2
If the check library is not available, use an abbreviated implementation of
...
the check API. This allows the unit and regression tests to be run on any
system without requiring an external package.
2004-04-30 03:18:11 +00:00
Fred L. Drake, Jr.
0a0a850ae7
added regression test for SF bug #824420 :
...
in non-namespace mode, Expat reported the use of an unbound namespace
when encountering an element that looks like it has a namespace prefix
(were namespaces enabled) and there's a definition for that prefix in
the DTD
2003-11-02 08:12:46 +00:00
Fred L. Drake, Jr.
99609421a8
Make it possible to avoid the import of expat_config.h. This makes it
...
easier to compile Expat without the autoconf support.
This closes SF patch #458907 .
2003-10-16 04:51:11 +00:00
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
Greg Stein
c02e8784e7
Put in a little protection against the developer not having the check
...
package available.
sfbug #664541 .
* configure.in: look for check.h. This will set up a HAVE_CHECK_H define.
* tests/chardata.c, tests/runtests.c: update banner. add test for
HAVE_CHECK_H and bail if not present.
2003-10-09 21:32:28 +00:00
Karl Waclawek
8128549ff1
Corrected typo.
2003-09-05 00:42:46 +00:00
Karl Waclawek
8ffc7e6556
Explains usage of benchmark utility.
2003-09-04 16:13:10 +00:00
Karl Waclawek
0c62e320f8
Small benchmark utility to test pure parser speed.
...
Tested on Windows only. Includes MS VC++ 6.0 workspace.
2003-09-04 16:01:54 +00:00
Fred L. Drake, Jr.
118ea18262
elaborated test case to cover SF bug #774028 ; current Expat already
...
handles this correctly
2003-08-27 12:34:23 +00:00
Fred L. Drake, Jr.
2ff7f92016
- be more specific about the errors we expect to see reported
...
- change the name of make_basic_suite() to make_suite(), since there's
only one make_*_suite() function
2003-03-12 19:25:03 +00:00
Fred L. Drake, Jr.
72ba3bd3d8
Add regression tests for SF bugs:
...
#692964 - Case where expat 1.95.6 doesn't report duplicate attributes
#695401 - Unbound prefixes not rejected
2003-03-12 19:17:18 +00:00
Fred L. Drake, Jr.
db8a501c0d
- two more tests based on Karl's comments on SF patch #673791
...
- pass XML_TRUE or XML_FALSE as the isFinal parameter for XML_Parse()
2003-01-28 05:33:37 +00:00
Fred L. Drake, Jr.
f85926afd5
Added regression tests for SF bug #673791 .
2003-01-25 06:55:25 +00:00
Fred L. Drake, Jr.
7fd8181a4a
Thread the proper file name and line number to make determination of
...
which test is failing easier.
2003-01-25 04:57:44 +00:00
Fred L. Drake, Jr.
5d55922080
- _expect_failure(): Use _fail_unless() instead of fail() to allow
...
reporting of the right line number
- add test that demonstrates the default namespace can be reset
without a syntax error
2003-01-24 05:39:16 +00:00
Fred L. Drake, Jr.
4273b16711
Add a test that makes sure xmlns:prefix="" is allowed when namespace
...
processing is not enabled.
2003-01-24 05:09:42 +00:00
Fred L. Drake, Jr.
b2e6a40fbb
Fix test case regarding reporting of undefined entities and
...
non-validating parsers (see section 5.1 of the XML 1.0 specification).
2003-01-21 05:41:24 +00:00
Fred L. Drake, Jr.
37be32f63f
Minor cleanups and conformance with current recommended usage.
2003-01-20 14:49:44 +00:00
Fred L. Drake, Jr.
42dc47850e
Oops, there were more regression tests for SF bug #653180 ; add these
...
as well.
2002-12-30 19:33:21 +00:00
Fred L. Drake, Jr.
d9b09dd45e
Added regression tests from bug; Karl already fixed the bug itself.
...
Closes SF bug #653180 .
Removed test that failed to tickle the bug, but should have.
2002-12-30 19:20:39 +00:00
Fred L. Drake, Jr.
843c5c4f5c
Added regression test for SF bug #483514 : Default handler reports
...
handled events.
2002-11-12 20:26:05 +00:00
Fred L. Drake, Jr.
1e4bab1724
Added regression test for SF bug #620106 : XML_SetEncoding() broken
...
for external entities.
2002-11-12 19:22:49 +00:00
Fred L. Drake, Jr.
a515b7b01c
Added regression test for SF bug #616863 .
...
Cleaned up some indentation.
Report the version of the Expat library if not in "silent" mode.
2002-11-07 23:02:26 +00:00
Fred L. Drake, Jr.
f4befc31c3
SF bug #620343 : segfault: bad API/callback interaction
...
The start-namespace-decl callback can set the start-element callback to
NULL, but Expat tried to call it anyway.
2002-10-08 17:04:55 +00:00
Karl Waclawek
aa6a61475b
Included "invalid" test cases, to check if the parser reports them
...
as well-formed without errors.
2002-09-04 03:04:44 +00:00
Fred L. Drake, Jr.
8875cf76db
Update to Karl's version of this script, and use the latest version of
...
the tests from the W3C.
2002-09-03 23:19:30 +00:00
Fred L. Drake, Jr.
8ebc3a260e
New test: demonstrate segfault in epilogProcessor(). Karl has a fix
...
for this that he'll check in shortly.
2002-08-30 22:05:55 +00:00
Fred L. Drake, Jr.
1330c4c02f
Added regression test.
...
Closes SF bug #600479 .
2002-08-27 17:06:19 +00:00
Fred L. Drake, Jr.
a37a37af7f
Add test for well-formedness constraint: No Recursion.
2002-08-24 19:53:59 +00:00
Fred L. Drake, Jr.
705efa1f25
Add a test that we do report an undefined entity if there is an
...
external subset and we load it.
2002-08-23 19:45:44 +00:00
Fred L. Drake, Jr.
93a409f6f6
Factor out some error reporting code used when the parser is expected
...
to report an error, and either doesn't report an error at all or
reports the wrong error.
2002-08-23 03:35:40 +00:00
Fred L. Drake, Jr.
80cac4a780
Renamed the last test added to be more clear about the condition being
...
tested.
Added a couple of additional tests checking for proper response to the
same well-formedness constraint. No bugs to fix there, just trying to
improve the coverage of the test suite.
2002-08-23 03:14:01 +00:00
Fred L. Drake, Jr.
803bc07fa7
Add a test case for the improper reporting of a failure of the "Entity
...
Declared" WFC fixed in lib/xmlparse.c 1.65.
2002-08-22 21:41:05 +00:00
Fred L. Drake, Jr.
e573251a94
Define specific return values for the XML_Parse*() functions, and use them
...
to test all XML_Parse*() return values in the test and sample code.
This is binary-compatible with previous Expat 1.95.x releases.
2002-08-02 19:40:09 +00:00
Fred L. Drake, Jr.
3167cb2a06
Remove cruftiness.
2002-07-24 01:20:18 +00:00
Fred L. Drake, Jr.
83271c5dbf
make_basic_suite(): Simplify the organization of the test cases into
...
just two groups: "basic" (no namespaces) and "namespace".
Rename one test function so it's name makes more sense, and is
shorter.
2002-07-22 17:49:17 +00:00
Fred L. Drake, Jr.
632b20c24f
Added regression test for SF bug #584832 , adapted from contributed
...
test.
2002-07-22 17:15:48 +00:00
Fred L. Drake, Jr.
098497fb5f
Add a test for SF bug #478332 .
...
If I understand the report correctly, I can't reproduce the bug using
the CVS version of Expat.
2002-07-09 21:17:45 +00:00
Fred L. Drake, Jr.
e43a5bc447
De-tabify.
2002-07-09 20:50:04 +00:00
Fred L. Drake, Jr.
4582daec8f
Fix SF bug #575168 : "Missing events for end-element".
2002-06-28 23:04:49 +00:00
Fred L. Drake, Jr.
7f509f86ef
Add regression tests for SF bug #566334 :
...
"Default namespace => wrong element names"
2002-06-28 14:20:07 +00:00
Fred L. Drake, Jr.
c74d7bca16
Add a regression test that might tickle SF bug #422239 . See comments
...
for more information.
2002-06-28 13:35:44 +00:00
Fred L. Drake, Jr.
6f4869b2a4
Share the comment style with the rest of Expat.
2002-05-22 20:22:25 +00:00
Fred L. Drake, Jr.
219908bec6
Add a small comment to tell what this is.
2002-05-22 20:20:05 +00:00
Fred L. Drake, Jr.
6197055826
Fix the regression test for SF bug #477667 . This now fails, but accurately
...
tests the reported bug.
It should also serve as increased motivation for me to get it fixed
before the next release.
2002-05-22 03:27:17 +00:00
Fred L. Drake, Jr.
f122dd821c
Remove the use of C99's stdbool.h and the bool type; not all compilers
...
support this (gcc 2.8.1 on IRIX 6.5 bit this time).
2002-05-21 21:39:18 +00:00
Fred L. Drake, Jr.
7ed4ac9d81
xml_failure(): Pass the relevant XML_Parser into the function so it is
...
useful when parsing external entities as well as the document entity.
All callers have been updated.
2002-05-04 21:47:46 +00:00
Fred L. Drake, Jr.
d05c7a58f7
Added target to run checks based on xmlwf and James Clark's test cases.
...
This is not run by "make check" since it requires unzip, wget, and network
access to set up the tests. Use "make run-xmltext" to run the tests.
2002-04-29 21:31:18 +00:00
Fred L. Drake, Jr.
0767c2ce17
Fix stupid last minute change.
2002-04-29 17:10:26 +00:00
Fred L. Drake, Jr.
d29adbd972
Added a bunch of assertions that internal assumptions are not violated
...
(specifically, make sure args are not NULL).
If the expected value is not the right length, include the value found in
the error message, to make problems easier to diagnose.
2002-04-29 17:09:31 +00:00
Fred L. Drake, Jr.
198ab270fe
Revise the data accumulation to be at least a little separated from the
...
actual test code. Not pretty & lacking in internal documentation, but
allows the test code to be a bit more readable.
2002-04-25 04:04:42 +00:00
Fred L. Drake, Jr.
d701da0bd5
Make the organization slightly easier to discern.
2002-04-25 01:42:34 +00:00
Fred L. Drake, Jr.
a1451f8ae7
Take advantage of XML_ParserReset(): Instead of creating new parsers in
...
run_*_check(), reset the parser between uses in the one place its actually
needed.
2002-04-24 03:48:03 +00:00
Fred L. Drake, Jr.
d2baa2aec2
Add a new test that demonstrates SF bug #481609 is invalid.
2002-04-22 18:50:18 +00:00
Fred L. Drake, Jr.
c5e5a2cab9
Test support enhancements:
...
_xml_failure(): Clean up the output message so the first line doesn't
wrap in the typical case.
CharData typedef: If count is less than 0, consider it "unset". This
is used in the new support to check attribute values.
accumulate_characters(): Handle storage->count < 0. Allow XML_Char
to be more than one byte.
accumulate_attribute(): New function: store the value of the first
attribute encountered in parsing. This needs the concept of a
CharData that is unset to allow capturing a value that is an empty
string.
check_characters(): Handle storage->count < 0. Allow XML_Char to be
more than one byte.
run_character_check(): Create a local parser so that both
run_character_check() and run_attribute_check() can be used in a
single test function.
run_attribute_check(): New function: check that the value of the
first attribute in a document matches the expected value.
2002-04-22 18:46:00 +00:00
Fred L. Drake, Jr.
307462a492
Added test for SF bug #480278 .
2002-04-20 13:19:40 +00:00
Fred L. Drake, Jr.
e2db2bc4c4
Fix typo in comment.
2002-04-20 02:53:15 +00:00
Fred L. Drake, Jr.
118257bc4c
Added a test for SF bug #231864 .
2002-04-19 20:59:01 +00:00
Fred L. Drake, Jr.
1258481fbc
Add a test that checks that illegal UTF-8 sequences are not allowed to pass
...
when we are using UTF-8 encoding.
This closes SF bug #477667 .
2002-04-19 19:18:35 +00:00
Fred L. Drake, Jr.
083326894e
Add the new tests to the right TCase object.
2002-04-19 18:50:26 +00:00
Fred L. Drake, Jr.
38b6ee29b2
basic_setup(): Remove bogus assumption that all tests would use US-ASCII
...
data; let Expat determine the proper encoding from the XML source text.
Added several tests relating to supposed mis-interpretation of Latin-1;
these show that Expat (at least in the CVS version) is properly decoding
the Latin-1 text and generating the proper UTF-8 output.
This closes SF bug #491986 , #514281 .
2002-04-19 18:25:07 +00:00
Greg Stein
a13d856e8f
* Switch to a single, top-level Makefile (simplification, consistency)
...
* use libtool to compile/link all programs
* remove */Makefile.in and remove them from configure
* remove autom4te.cache after running autoconf
* remove .o from the FILEMAP logic in configure and the Make system;
provides more flexibility in the Makefile to use it
* for VPATH builds: create the build subdirs by running
"make mkdir-init" from the configure script
* adjust .cvsignore files to account for presence of .libs now
2001-12-07 10:19:31 +00:00
Fred L. Drake, Jr.
f762a852d9
Add a check for unknown command line options.
2001-11-18 13:56:01 +00:00
Fred L. Drake, Jr.
01012061bc
Added a test to make sure that whitespace in ENTITIES, IDREFS, and NMTOKENS
...
attributes is properly collapsed according to Section 3.3.3 of the spec.
This is the first even slightly complicated test; boy are these painful in
C! Had to add a test of a helper routine as well; that just uses assertions
since the test framework should not be dealing with tests of the tester,
just of Expat.
Added a helper to make the failure messages more useful when Expat produces
an unexpected error code; we now include the error message and location from
Expat. This is mostly useful when developing a new test.
2001-11-16 20:19:39 +00:00
Fred L. Drake, Jr.
b1447b1ba3
Added tests that some basic encodings are recognized and the corresponding
...
BOM marks do not cause core dumps. The UTF-8 BOM bug was fixed a while ago,
but a regression test is always a good idea.
2001-11-13 17:31:53 +00:00
Fred L. Drake, Jr.
1cd143fcf7
Note that the tests need check 0.8 to work.
2001-11-13 05:04:51 +00:00
Fred L. Drake, Jr.
3e89ab4c4b
Update to work with check 0.8.
2001-11-13 05:04:02 +00:00
Fred L. Drake, Jr.
5769f4a431
Added a test that ensures the parser reports an out-of-place XML declaration.
...
(Originally written to attempt to tickle a different bug, but useful as a
regression test even though Expat has been doing the right thing.)
2001-11-13 04:49:52 +00:00
Fred L. Drake, Jr.
559fbc6c4b
Tell CVS to ignore the intermediate files generated by building the test
...
suite.
2001-08-17 19:16:41 +00:00
Fred L. Drake, Jr.
cc89b6f763
Build & run the test suite.
2001-08-17 19:16:41 +00:00
Fred L. Drake, Jr.
ed9b8e0d46
Explain what is required to build & run the test suite, and that it all
...
might change in the future.
2001-08-17 19:16:41 +00:00
Fred L. Drake, Jr.
fcf971bfe0
A very small test suite for Expat; additional tests will be added as time
...
permits.
2001-08-17 19:16:41 +00:00