Commit Graph

207 Commits

Author SHA1 Message Date
Rhodri James
da93b3992a Refactor allocator test support 2017-07-16 01:44:33 +02:00
Sebastian Pipping
483803255d minicheck.c: Protect against potential NULL dereference 2017-07-15 19:14:49 +02:00
Sebastian Pipping
7c82b0b4ab minicheck.c: Rename *_dispose to *_free 2017-07-15 19:07:30 +02:00
Rhodri James
c5b129e597 Free the external entity parser in external_entity_loader_set_encoding()
Removes the last of the memory leaks detected by AddressSanitizer
in the test suite (see Issue #23)
2017-07-14 17:55:51 +01:00
Rhodri James
e4bfe3c7d1 Free all the data structures associated with test cases.
Removes some of the memory leaks discovered by AddressSanitizer
in the test suite (see Issue #23)
2017-07-14 17:53:56 +01:00
Rhodri James
38c1ce7cd5 Free the content model in dummy_element_decl_handler()
Removes some of the memory leaks found by AddressSanitizer in
the test suite (see Issue #23)
2017-07-14 17:33:59 +01:00
Rhodri James
d350a6cb0d Free external entity parser in external_entity_param()
Removes some of the memory leaks detected by AddressSanitizer in
the test suite (see Issue #23).
2017-07-14 17:22:54 +01:00
Rhodri James
8cdcb7219d Free external entity parser in external_entity_suspender()
Removes some memory leaks detected by AddressSanitizer in
the test suite (see Issue #23)
2017-07-14 17:15:12 +01:00
Rhodri James
448cd2acac Free external entity parser in external_entity_param_checker()
Removes some of the memory leaks detected by AddressSanitizer
in the test suite (see Issue #23)
2017-07-14 17:13:22 +01:00
Rhodri James
a7db7a1c1a Free external entity parser in external_entity_resetter() when done
Deals with some of the memory leaks found by AddressSanitizer in
the test suite (Issue #23)
2017-07-14 17:03:25 +01:00
Rhodri James
d3b3f7fa48 Free external entity parser in external_entity_loader() when done.
Removes some memory leaks detected by AddressSanitizer in the
test suite (see Issue #23)
2017-07-14 17:02:34 +01:00
Rhodri James
18be28458b Use correct parser to signal failure in external_entity_loader() 2017-07-14 16:49:50 +01:00
Sebastian Pipping
b5aaa782fa runtests.c: Protect against -DNDEBUG (issue #76 related) 2017-07-12 20:16:37 +02:00
Sebastian Pipping
5f51145401 Move to C99 (#73) and fix ULL integer literals (#69) 2017-07-12 18:47:37 +02:00
Sebastian Pipping
e4f71eeaa0 tests: Address -Wformat compile warnings 2017-06-26 00:31:29 +02:00
Karl Waclawek
85718691e5 Windows release: Update README, remove VC++ 6.0 files from installer, fix runtests.vcxproj file. 2017-06-17 12:05:48 -04:00
Sebastian Pipping
1ee8601f24 Merge branch 'siphash' 2017-06-17 01:04:09 +02:00
Rhodri James
774ee6c15b Tests: Cover external entity infinite loop bug 2017-06-17 01:00:05 +02:00
Sebastian Pipping
3fb1ec4334 Make "make run-xmltest" work for MinGW cross-compilation 2017-06-14 22:36:51 +02:00
Sebastian Pipping
a68c125fba tests/runtests.c: Address byte_character_handler unused variables 2017-06-13 23:38:01 +02:00
Sebastian Pipping
efa3749d8f siphash: Test implementation 2017-06-11 01:20:41 +02:00
Sebastian Pipping
4f862dddf9 examples|tests|xmlwf: Drop AmigaOS 4.x include (issue #14) 2017-06-07 20:31:15 +02:00
Sebastian Pipping
f0b63f56c8 Address warning "initializer element is not computable at load time" 2017-05-28 15:02:19 +02:00
Sebastian Pipping
50e0dd88f0 Visual Studio 20xx: No longer define WIN32 2017-05-25 15:25:18 +02:00
Rhodri James
643a09d42d Fix misuse of realloc in tcase_add_test() 2017-05-24 19:08:54 +02:00
Sebastian Pipping
7801ac4cdf tests: Fix test_byte_info_at_cdata for undefined XML_CONTEXT_BYTES 2017-05-03 00:38:57 +02:00
Rhodri James
ec322eb428 Test to catch Issue #17 2017-04-26 00:04:52 +02:00
Sebastian Pipping
a67f2a2545 *.dsp,*.dsw: Drop Visual Studio 6.0 (issue #14) 2017-04-25 23:51:59 +02:00
Sebastian Pipping
ff9cf997fb "make run-xmltest" order instability once more (issue #13) 2017-03-13 21:20:56 +01:00
Rhodri James
7091e83cb4 Check that version information is consistent 2017-03-13 18:12:24 +01:00
Rhodri James
69b23486c9 Test XML_ErrorString range checking 2017-03-13 18:06:20 +01:00
Sebastian Pipping
822036fd12 Tests: Make dealing with global parser instance more robust 2017-03-13 18:06:05 +01:00
Rhodri James
6a1873f1f1 Free the content model when used 2017-03-13 17:54:41 +01:00
Rhodri James
813dde9bcc Add test coverage of XML_GetInputContext() 2017-03-13 17:51:59 +01:00
Sebastian Pipping
19e6c3ac9f Tests: Address wildcard expansion order variance (fixes #13) 2017-03-13 17:39:14 +01:00
Rhodri James
c85b577eed Check byte information behaviour in handlers 2017-03-13 16:23:04 +01:00
Rhodri James
a0eca419bd Extend coverage of byte information function tests 2017-03-13 15:39:38 +01:00
Rhodri James
2dbc5c800b Test byte information functions 2017-03-13 15:39:38 +01:00
Rhodri James
012de3c01b Improve test coverage of XML_ResumeParser 2017-03-13 15:22:52 +01:00
Rhodri James
cf29d40fd3 Extend test coverage of XML_ResumeParser 2017-03-13 15:21:24 +01:00
Rhodri James
6975a78eb5 Extend test coverage of XML_ResumeParser() 2017-03-13 15:21:13 +01:00
Rhodri James
b1ef084e82 Test XML_StopParser() in external entity parsing 2017-03-13 15:15:44 +01:00
Rhodri James
ca324d219c Increase test coverage of XML_StopParser 2017-03-12 19:42:33 +01:00
Sebastian Pipping
7c715a9d3c Fix __func__ for -std=c89 with GCC 5.4.0 (fixes #12)
GCC 5.4.0 does not define __STDC_VERSION__ when -std=c89 is passed.
2017-03-08 22:25:37 +01:00
Rhodri James
0a3827eb7d Extend tests of XML_GetBuffer for still more coverage 2017-03-05 22:56:23 +01:00
Rhodri James
28d9f9938f Extend XML_GetBuffer testing coverage 2017-03-05 22:54:57 +01:00
Rhodri James
1c3c9b2bd5 Further test coverage of XML_GetBuffer 2017-03-05 22:53:15 +01:00
Rhodri James
11df015a54 Extend tests to XML_GetBuffer in various circumstances 2017-03-05 22:44:17 +01:00
Rhodri James
98c2606759 Test XML_ParseBuffer API in various parse states 2017-03-05 22:38:33 +01:00
Rhodri James
d54933675f Extend empty string parse tests 2017-03-05 22:36:29 +01:00