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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user