Menno van der Graaf created CELIX-339:
-----------------------------------------

             Summary: 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


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