Skip to content

Commit

Permalink
kunit: mock: add class mocking support
Browse files Browse the repository at this point in the history
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 80a5526
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.