1
0
mirror of https://github.com/meekrosoft/fff synced 2026-01-29 03:04:27 +01:00

Merged varargs support with const support

This commit is contained in:
Mike Long
2013-06-23 22:22:34 +08:00
7 changed files with 24 additions and 4 deletions

View File

@@ -63,6 +63,14 @@ TEST_F(FFFTestSuite, when_void_func_with_2_char_args_called_and_reset_then_captu
ASSERT_EQ(voidfunc2_fake.arg1_val, 0);
}
#ifndef __cplusplus
TEST_F(FFFTestSuite, when_fake_func_called_then_const_arguments_captured)
{
char dst[80];
strlcpy3(dst, __FUNCTION__, sizeof(__FUNCTION__));
}
#endif /* __cplusplus */
// Argument history
TEST_F(FFFTestSuite, when_fake_func_created_default_history_is_fifty_calls)
{