1
0
mirror of https://github.com/meekrosoft/fff synced 2026-01-23 16:35:59 +01:00

Add support for const parameters in fakes (C only)

This commit is contained in:
Micha Hoiting
2012-11-08 23:14:02 +01:00
parent e35ae98cac
commit 3cf610ea97
6 changed files with 12 additions and 7 deletions

View File

@@ -20,7 +20,6 @@ DEFINE_FFF_GLOBALS
FAKE_VOID_FUNC(voidfunc1, int);
FAKE_VOID_FUNC(voidfunc2, char, char);
FAKE_VALUE_FUNC(long, longfunc0);
FAKE_VALUE_FUNC(int, strlcpy3, char* const, const char* const, const size_t);
class FFFTestSuite: public testing::Test
{
@@ -30,7 +29,6 @@ public:
RESET_FAKE(voidfunc1);
RESET_FAKE(voidfunc2);
RESET_FAKE(longfunc0);
RESET_FAKE(strlcpy3);
FFF_RESET_HISTORY();
}
};