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

Added another method for checking dropped histories

This commit is contained in:
Mike Long
2011-02-19 21:33:16 +01:00
parent e8475e8e47
commit 567971a703
2 changed files with 5 additions and 0 deletions

View File

@@ -132,6 +132,8 @@ TEST_F(FFFTestSuite, when_fake_func_called_max_times_plus_one_then_one_argument_
}
voidfunc2('1', '2');
ASSERT_EQ(1u, voidfunc2_arg_histories_dropped);
// or in other words..
ASSERT_GT(voidfunc2_call_count, voidfunc2_arg_history_len);
}
// Return values