{"push_id":1433764673,"size":1,"distinct_size":1,"ref":"refs/heads/macro-token-support","head":"9f8ecc1d1773f360345bb790fa14e92d5dd4cd07","before":"ab6cff56c1f556df956ce246e83e2f25b865f90a","commits":[{"sha":"9f8ecc1d1773f360345bb790fa14e92d5dd4cd07","author":{"name":"Jeff Crocker","email":"195ab0ca9b730543747b4e9cb9e893d5a74d5ab4@gmail.com"},"message":"Add support for mocking functions by macro aliases\n\nPreviously any macro passed to an expectation had its token immediately\nevaluated. This causes a problem since the resulting mocked function and\nexpectation token names would not match, resulting in failed tests such\nas below:\n\n```\nMocked function [real_function_symbol] did not have an expectation that\nit would be called\n\nExpected call was not made to mocked function [FUNCTION_SYMBOL_MACRO]\n```\n\nThis was resolved by introducing a `STRINGIFY_TOKEN` macro which yields\nthe token string of the expanded macro, i.e. `real_function_symbol`\ninstead of `FUNCTION_SYMBOL_MACRO`.\n\nRead more about\n[C Preprocessor Stringification](https://gcc.gnu.org/onlinedocs/cpp/Stringification.html)","distinct":true,"url":"https://api.github.com/repos/CrockAgile/cgreen/commits/9f8ecc1d1773f360345bb790fa14e92d5dd4cd07"}]}
{"actor":{"display_login":"CrockAgile"}}