Rhodri James
|
c2e90b3ebb
|
Mark the second uppercasing in streqci() as unreacheable for coverage tests
|
2017-07-22 22:49:17 +02:00 |
|
Rhodri James
|
22bfe4f64d
|
Extend test_utf16 to include a character encoded as 0xff??
|
2017-07-22 22:49:17 +02:00 |
|
Rhodri James
|
9bb66e6699
|
Test that reversed UTF-16 surrogate pair in CDATA is rejected
|
2017-07-22 22:49:17 +02:00 |
|
Rhodri James
|
b99565c356
|
Test that a long attribute in ASCII encoding is correctly converted
|
2017-07-22 22:49:17 +02:00 |
|
Rhodri James
|
fddefa0680
|
Check latin1 char expanding to two bytes UTF-8 across a buffer boundary.
|
2017-07-22 22:49:16 +02:00 |
|
Rhodri James
|
a0ee59bd14
|
Test four-byte UTF-8 character are rejected in names
|
2017-07-22 22:49:16 +02:00 |
|
Rhodri James
|
8f1346cdbe
|
Add utility script file to tidy up after running coverage tests
|
2017-07-22 22:49:16 +02:00 |
|
Rhodri James
|
c1541fa19a
|
Ignore directories created by coverage script
|
2017-07-22 22:49:16 +02:00 |
|
Rhodri James
|
043e9923a3
|
Fix LCOV exclusion symbols in xmlparse.c
|
2017-07-22 22:49:16 +02:00 |
|
Rhodri James
|
5f06552ba3
|
Comment why negative blocksize in poolGrow is hard to test
Also add comment tags for lcov to ignore untestable code
|
2017-07-22 22:49:16 +02:00 |
|
Rhodri James
|
97aa338029
|
Comment why negative blocksize in poolGrow is hard to test
Add comment tags so lcov can ignore untestable code
|
2017-07-22 22:49:16 +02:00 |
|
Rhodri James
|
c6236c8a59
|
Comment why poolCopyStringN is not entered with an empty string pool
Also add comment tags so that lcov can ignore unreachable code.
|
2017-07-22 22:49:16 +02:00 |
|
Rhodri James
|
f8505ea55b
|
Comment why an unbound prefix in getContext is believed impossible
Also add comment tags so that lcov can ignore unreachable code
|
2017-07-22 22:49:16 +02:00 |
|
Rhodri James
|
e35f05fb5f
|
Comment why allocation failure in getContext is believe impossible.
Also add comment tags so lcov can ignore unreachable code
|
2017-07-22 22:49:16 +02:00 |
|
Rhodri James
|
d81e238f96
|
Comment why encoding change in reportDefault is believed never to happen
Also add comment tags so that lcov can ignore unreachable code
|
2017-07-22 22:49:16 +02:00 |
|
Rhodri James
|
fc3a968f47
|
Comment why default case in storeEntityValue is never executed
Also add comment tags so lcov can ignore unreachable code
|
2017-07-22 22:49:16 +02:00 |
|
Rhodri James
|
92cf2a3179
|
Remove unreachable error code in character ref handling
|
2017-07-22 22:49:16 +02:00 |
|
Rhodri James
|
10103bcd04
|
Comment why defaul case in appendAttreibuteValue is never executed
Also add comment tags so that lcov can ignore unreachable code
|
2017-07-22 22:49:16 +02:00 |
|
Rhodri James
|
f7229958bf
|
Comment why encoding check in appendAttributeValue is never true
Also add comment tag so lcov can ignore unreachable code
|
2017-07-22 22:49:16 +02:00 |
|
Rhodri James
|
758e83d100
|
Remove unreachable error handling code in character ref handling
|
2017-07-22 22:49:16 +02:00 |
|
Rhodri James
|
ea51dfcbdb
|
Comment why internal entity in param entity is believe impossible.
Also add comment tags to allow lcov to ignore unreachable code
|
2017-07-22 22:49:16 +02:00 |
|
Rhodri James
|
fc64cd121d
|
Comment why external subset name lookup cannot fail
Also add comment tag so that lcov can ignore unreachable code
|
2017-07-22 22:49:16 +02:00 |
|
Rhodri James
|
d6549087b4
|
Remove unreachable code in entityValueInitProcessor
|
2017-07-22 22:49:16 +02:00 |
|
Rhodri James
|
e1a7cc2712
|
Comment why doIgnoreSection's default case is never called.
Also add comment tags so that lcov can ignore unreachable code
|
2017-07-22 22:49:16 +02:00 |
|
Rhodri James
|
860933367a
|
Comment why doIgnoreSection is believed to always use the parser's encoding
Also add comment tags so that lcov can ignore the unreachable code
|
2017-07-22 22:49:16 +02:00 |
|
Rhodri James
|
5214e4427a
|
Comment why doCdataSection's default case is never executed.
Also add comment tags so that lcov can ignore the unreachable code
|
2017-07-22 22:49:16 +02:00 |
|
Rhodri James
|
766d6d3509
|
Comment why code in storeAtts() is never executed.
Also add comment tags so lcov can ignore the unreachable code
|
2017-07-22 22:49:16 +02:00 |
|
Rhodri James
|
351a8cb321
|
Comment why doContent's default case is never executed.
Also add comment markers so lcov can ignore the unreachable code.
|
2017-07-22 22:49:16 +02:00 |
|
Rhodri James
|
a420a3b8ef
|
Comment why tidy-up parse cannot be suspended
Also add tags so that lcov can ignore the unreachable code.
|
2017-07-22 22:49:16 +02:00 |
|
Rhodri James
|
1754bafba0
|
Test parsing element in namespace with a failing allocator
|
2017-07-22 22:49:16 +02:00 |
|
Rhodri James
|
704d03ef40
|
Test extremely long namespace prefix
Exercises a path in poolGrow that requires attempting to over-fill
a gap of more than 1024 characters in a non-empty pool.
|
2017-07-22 22:49:16 +02:00 |
|
Rhodri James
|
64f1b1b995
|
Test large element group with a failing allocator
|
2017-07-22 22:49:16 +02:00 |
|
Rhodri James
|
187650bad9
|
Test long notation value with external entity and failing allocator
|
2017-07-22 22:49:16 +02:00 |
|
Rhodri James
|
a40d23df08
|
Move external_entity_optioner up to be more generally available
No functionality changes in this commit
|
2017-07-22 22:49:16 +02:00 |
|
Rhodri James
|
eb99fe2529
|
Test long entity value and external entity with duff allocator
|
2017-07-22 22:49:16 +02:00 |
|
Rhodri James
|
fcae5d20aa
|
Test external entity with long public ID and failing allocator
|
2017-07-22 22:49:16 +02:00 |
|
Rhodri James
|
1ce3d9049a
|
Test long base URI for external parser with duff allocator
|
2017-07-22 22:49:16 +02:00 |
|
Rhodri James
|
75d3141f31
|
Test long entity system ID in external parser with failing allocator
|
2017-07-22 22:49:15 +02:00 |
|
Rhodri James
|
b03edfd961
|
Test with long default attribute for ext parser with duff allocator
|
2017-07-22 22:49:15 +02:00 |
|
Rhodri James
|
ec167d305c
|
Test longer context URI with a failing reallocator
|
2017-07-22 22:49:15 +02:00 |
|
Rhodri James
|
6aecdba977
|
Test a long URI in the context string with a failing allocator
|
2017-07-22 22:49:15 +02:00 |
|
Rhodri James
|
4282072d9c
|
Test long namespace in external entity context with duff reallocator
|
2017-07-22 22:49:15 +02:00 |
|
Rhodri James
|
4fe873c62b
|
Test long general entity name in external DTD with failing realloc
|
2017-07-22 22:49:15 +02:00 |
|
Rhodri James
|
126c0e8459
|
Test shorter long context URI with a failing reallocator
One last code path to exercise
|
2017-07-22 22:49:15 +02:00 |
|
Rhodri James
|
2950c7ac09
|
Again test long context URI against a failing reallocator
Another different code path
|
2017-07-22 22:49:15 +02:00 |
|
Rhodri James
|
67f238b794
|
Refactor context URI reallocation tests
|
2017-07-22 22:49:15 +02:00 |
|
Rhodri James
|
ae9fe3c614
|
Test shorter context URI in the face of a failing reallocator
Yet another different code path exercised
|
2017-07-22 22:49:15 +02:00 |
|
Rhodri James
|
1136aceaa3
|
Test different length context URI with duff reallocator
Exercises another different code path
|
2017-07-22 22:49:15 +02:00 |
|
Rhodri James
|
f4e09d7d5d
|
Test slightly shorter context URI with duff allocator
Exercises a different code path to previous context test
|
2017-07-22 22:49:15 +02:00 |
|
Rhodri James
|
464aefaccc
|
Test appropriately long context URI with a failing reallocator
|
2017-07-22 22:49:15 +02:00 |
|