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

Menno van der Graaf updated CELIX-339:
--------------------------------------
    Attachment: log_mock_print.patch

> celix_log_mock doesnt show logs to the user
> -------------------------------------------
>
>                 Key: CELIX-339
>                 URL: https://issues.apache.org/jira/browse/CELIX-339
>             Project: Celix
>          Issue Type: Improvement
>          Components: Framework
>            Reporter: Menno van der Graaf
>            Priority: Minor
>         Attachments: log_mock_print.patch
>
>
> mocking out the framework logger helps tests to detect when an exception is 
> noted by the code under test. The current implementation only registers the 
> "actual call" with the mock framework though, it does not output anything to 
> the user (tester/developer). This can make debugging of the failing tests 
> somewhat difficult, since the mocking framework never registers WHEN a call 
> to the logger was made.
> attached will be a file that fixes "celix_log_mock.c", so that both the 
> "actual call" is registered, and the error string is written to STDOUT.



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

Reply via email to