It seems that unit tests were not kept up to date, this is my attempt to fix them. Now they at least compile. Most of them also run, but TestCheckResponse_InvalidCallId results in the following message in a loop:
GMOCK WARNING:
Uninteresting mock function call - returning default value.
Function call: poll(true, false, 3598193)
Returns: false
NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details.
It seems that unit tests were not kept up to date, this is my attempt to fix them. Now they at least compile. Most of them also run, but
TestCheckResponse_InvalidCallId
results in the following message in a loop:No idea how to fix that one though.