dascandy / hippomocks

GNU Lesser General Public License v2.1
196 stars 67 forks source link

Multiple Expect Check for C Function Mocks #113

Closed jeremy-ir closed 1 year ago

jeremy-ir commented 1 year ago

[Issue/Feature Description] Mocked functions in hot loops require multiple invocations of ExpectCallFunc.

[Resolution] Created a new macro, ExpectCallsFunc, that takes in a call count in addition to the function name to handle repeated sequential calls.