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

Bjoern Petri commented on CELIX-339:
------------------------------------

Nice one - Thank you!  I already applied the patch. Please close this issue if 
okay.

> 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