zephyr/tests/bluetooth/audio/mocks/include
Mariusz Skamra 8797e50b64 tests: Bluetooth: ascs: Swap bt_gatt_attr_read mock with real function
This refactors the code to use exact copy of bt_gatt_attr_read instead
of mock, as the implementation might call the function with stack
allocated value. Using mock would require deep copy of the value for
further verification. As the buffer where the value is about to placed
is one of the attr->read() parameters, the test may call the read()
callback with stack allocated buffer of defined size and read the value
from the buffer.

Signed-off-by: Mariusz Skamra <mariusz.skamra@codecoup.pl>
2023-07-05 09:14:37 +02:00
..
bap_stream_expects.h tests: Bluetooth: ascs: Factor out call count verification function 2023-05-22 10:16:02 +02:00
bap_stream.h Bluetooth: Audio: Rename bt_codec to bt_audio_codec_{cap, conf, data} 2023-06-30 12:39:50 +02:00
bap_unicast_server_expects.h tests: Bluetooth: ascs: Factor out call count verification function 2023-05-22 10:16:02 +02:00
bap_unicast_server.h Bluetooth: Audio: Rename bt_codec to bt_audio_codec_{cap, conf, data} 2023-06-30 12:39:50 +02:00
conn.h tests: Bluetooth: ascs: Add test for ASE release on ACL disconnection 2023-05-22 10:16:02 +02:00
expects_util.h tests: Bluetooth: ascs: Factor out call count verification function 2023-05-22 10:16:02 +02:00
gatt_expects.h tests: Bluetooth: ascs: Swap bt_gatt_attr_read mock with real function 2023-07-05 09:14:37 +02:00
gatt.h tests: Bluetooth: ascs: Swap bt_gatt_attr_read mock with real function 2023-07-05 09:14:37 +02:00
iso.h tests: Bluetooth: ascs: Add Sink ASE state machine test cases 2023-03-30 13:48:22 +02:00
mock_kernel.h tests: Bluetooth: Add missing ASCS mocks 2023-05-12 15:29:17 +02:00
pacs.h tests: Bluetooth: ascs: Set pacs_cap_foreach_custom_fake as default mock 2023-04-12 13:05:20 +02:00