kunit: mock: implemented nice, strict and naggy mock distinctions
Nice mocks only fail when there is an expectation on a method, but none
match a given call. Strict mocks only pass when there is a matching
expectation for every call. Naggy mocks have the same pass/fail behavior
as nice, but report a warning in any case a strict mock would fail.
Signed-off-by: Felix Guo <email@example.com>
Signed-off-by: Brendan Higgins <firstname.lastname@example.org>
4 files changed