celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Menno van der Graaf (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CELIX-290) Mock fixes, CMakelist fix, build warning fix
Date Wed, 11 Nov 2015 13:49:10 GMT

     [ https://issues.apache.org/jira/browse/CELIX-290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Menno van der Graaf updated CELIX-290:
--------------------------------------
    Attachment: fw_test.patch

patch file, implements the mentioned fixes for this issue

> Mock fixes, CMakelist fix, build warning fix
> --------------------------------------------
>
>                 Key: CELIX-290
>                 URL: https://issues.apache.org/jira/browse/CELIX-290
>             Project: Celix
>          Issue Type: Bug
>          Components: Framework
>            Reporter: Menno van der Graaf
>              Labels: newbie, patch, test
>         Attachments: fw_test.patch
>
>
> Bugs:
> -unit tests failing, exhibiting undefined behavior. the framework mocks are incorrectly
implemented, and as a result, the reliant tests fail.
> -Cmake warning in framework "framework/Cmakelist.txt"
> -sub-par coverage of framework "resolver.c"
> -build warnings in the framework unit tests.
> Please find attached the patch that implements the following:
> Changes/fixes:
> -fixed cmake warning in framework/CMakelist.txt (removed brackets from [COPYONLY] at
line 351/353)
> -fixed build warning in framework bundle_cache_test.cpp (mktemp depricated, used mkstemp
instead)
> -fixed a dev note accidentaly left in framework service_registry_test.cpp (used preprocessor
symbol as dev note, will not do again)
> -fixed a lot of the framework mocks, used to not assign any of the output parameters,
resulting in undefined behaviour
> -updated most framework tests to accommodate for the mock changes
> -expanded framework resolver test (WIP)
> now how does this patch stuff work..



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

Mime
View raw message