Skip to content
Commit 8a74e705 authored by Morten Priess's avatar Morten Priess Committed by Anas Nashif
Browse files

tests: ztest: ztest_mock to support multiple calls to same mock



Updated ztest_mock.c to support multiple calls to same mock function
within a single function under test. This allows sequencing mock
return values for improved decision coverage in a test, or simply
when a given function under test calls the same function more than
once with different parameters, or different return values.

Signed-off-by: default avatarMorten Priess <mtpr@oticon.com>
parent 482865c4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment