tests: Bluetooth: Update audio mocs for bt_iso_chan_get_tx_sync
bt_iso_chan_get_tx_sync was missing a mock now that it is being used by bap_stream.c Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
parent
de041dba5e
commit
2390f974af
1 changed files with 4 additions and 0 deletions
|
@ -13,12 +13,16 @@
|
|||
/* List of fakes used by this unit tester */
|
||||
#define FFF_FAKES_LIST(FAKE) \
|
||||
FAKE(bt_iso_chan_send) \
|
||||
FAKE(bt_iso_chan_get_tx_sync)
|
||||
|
||||
static struct bt_iso_server *iso_server;
|
||||
|
||||
DEFINE_FAKE_VALUE_FUNC(int, bt_iso_chan_send, struct bt_iso_chan *, struct net_buf *, uint16_t,
|
||||
uint32_t);
|
||||
|
||||
DEFINE_FAKE_VALUE_FUNC(int, bt_iso_chan_get_tx_sync, const struct bt_iso_chan *,
|
||||
struct bt_iso_tx_info *);
|
||||
|
||||
int bt_iso_server_register(struct bt_iso_server *server)
|
||||
{
|
||||
zassert_not_null(server, "server is NULL");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue