meekrosoft / fff

A testing micro framework for creating function test doubles
Other
761 stars 167 forks source link

Handle return value history for custom fakes #77

Closed henningrehn closed 5 years ago

henningrehn commented 5 years ago

Currently the return value history is not stored when using custom fakes.

An old pull request, https://github.com/meekrosoft/fff/pull/42 , dealing with the same issue already exists but it didn't look like it was touched for quite a while.

This pr includes a very similar change, but in the fakegen.rb script instead of fff.h Also a unit test verifying the functionality is included.

AppVeyorBot commented 5 years ago

:white_check_mark: Build fff 80-appveyor completed (commit https://github.com/meekrosoft/fff/commit/d8724898e0 by @henningrehn)

meekrosoft commented 5 years ago

Looks great - thanks for the contribution!