1
0
mirror of https://github.com/meekrosoft/fff synced 2026-01-26 01:41:36 +01:00

Add test with const parameters

This commit is contained in:
Micha Hoiting
2012-11-05 16:55:37 +01:00
parent f0ea84ce35
commit e35ae98cac
6 changed files with 15 additions and 0 deletions

View File

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