[ 
https://issues.apache.org/jira/browse/COR-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14339030#comment-14339030
 ] 

Peter Kelly commented on COR-48:
--------------------------------

BTW, the best way to test is:

dftest /path/to/source/tree

This runs all of the automated tests (there are about 1200 of them), thus 
giving much greater code coverage. Theoretically it's supposed to test 
everything in the library, but there's probably a few cases I've missed where 
that the tests don't cover.

dftest -plain also runs some additional tests that don't require input data 
files; these are few in number right now but will grow over time. This is where 
any tests you add to WrapperTests.c or similar files in other directories will 
get run; note these need to be added to the TestGroup instance defined at the 
bottom of the file (you'll see examples of this for the zip functions if you 
look in WrapperTests.c).

> Add x*alloc and xfree functions, change malloc() to xmallox() in non-3rd 
> party directories
> ------------------------------------------------------------------------------------------
>
>                 Key: COR-48
>                 URL: https://issues.apache.org/jira/browse/COR-48
>             Project: Corinthia
>          Issue Type: Improvement
>          Components: DocFormats - platform
>    Affects Versions: 0.5
>            Reporter: Gabriela Gibson
>            Priority: Minor
>         Attachments: logmesg.txt, malloc.patch
>
>
> Part 1 of the project, this just changes the malloc() calls and adds the new 
> x*alloc/xfree functions.
> Tested with ./bin/dfutil -normalize <some random html file>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to