Skip to content
Permalink
Browse files
kunit: mock: add class mocking support
Introduce basic class mocking, the ability to automatically generate a
Linux C-style class implementation whose behavior is controlled by test
cases, which can also set expectations on when and how mocks are called.

Co-developed-by: Daniel Latypov <dlatypov@google.com>
Signed-off-by: Daniel Latypov <dlatypov@google.com>
Signed-off-by: Brendan Higgins <brendanhiggins@google.com>
  • Loading branch information
bjh83 authored and intel-lab-lkp committed Oct 12, 2020
1 parent f88f494 commit 9e162e8cc1ac27ab6de97d84033753ff486214e9
Show file tree
Hide file tree
Showing 5 changed files with 945 additions and 2 deletions.

0 comments on commit 9e162e8

Please sign in to comment.