You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by "Gabriele Ricciardi (JIRA)" <ji...@apache.org> on 2015/12/04 15:18:10 UTC
[jira] [Commented] (CELIX-318) DFI Unit tests for negative cases
[ https://issues.apache.org/jira/browse/CELIX-318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15041597#comment-15041597 ]
Gabriele Ricciardi commented on CELIX-318:
------------------------------------------
Apply the patch with "git apply --ignore-space-change --ignore-whitespace --whitespace=fix" (warnings about white spaces can be ignored)
> DFI Unit tests for negative cases
> ---------------------------------
>
> Key: CELIX-318
> URL: https://issues.apache.org/jira/browse/CELIX-318
> Project: Celix
> Issue Type: Test
> Reporter: Gabriele Ricciardi
> Attachments: dfi_negative_tests.patch
>
>
> DFI library misses unit tests for negative cases (e.g. invalid descriptors, invalid formats...).
> Thanks to those negative cases, an invalid read was found in dynCommon_eatChar error logging
> Attached patch that fixes the invalid read and extends unit tests suite (after this, code coverage for DFI is above 90%).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)