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 Sep 18, 2020
1 parent 8c98071 commit 80a5526fd886c8b3d5ad6ba475b3d1087943f70a
Show file tree
Hide file tree
Showing 5 changed files with 937 additions and 2 deletions.

0 comments on commit 80a5526

Please sign in to comment.