tests: bluetooth: host: Add UT for bt_keys_update_usage()
Unit test project for bt_keys_update_usage(). This part of subsys/bluetooth/host/keys.c unit testing. Signed-off-by: Ahmed Moheb <ahmed.moheb@nordicsemi.no>
This commit is contained in:
parent
5768c45a9d
commit
60345c1ddc
10 changed files with 323 additions and 0 deletions
|
@ -542,5 +542,10 @@ uint32_t bt_keys_get_aging_counter_val(void)
|
|||
{
|
||||
return aging_counter_val;
|
||||
}
|
||||
|
||||
struct bt_keys *bt_keys_get_last_keys_updated(void)
|
||||
{
|
||||
return last_keys_updated;
|
||||
}
|
||||
#endif /* CONFIG_BT_KEYS_OVERWRITE_OLDEST */
|
||||
#endif /* ZTEST_UNITTEST */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue