commit | 8a5d475d94e0c30ad074fd311be2e405afe7c960 | [log] [tgz] |
---|---|---|
author | Brendan Higgins <brendanhiggins@google.com> | Tue Jul 24 15:04:28 2018 -0700 |
committer | Brendan Higgins <brendanhiggins@google.com> | Wed Oct 24 15:11:23 2018 -0700 |
tree | f2a2705287ee938d8fedc6cc1a007212a44e2f99 | |
parent | f495263fc6548dffcca2472e9b74a30aead67d8b [diff] |
kunit: mock: added the concept of redirect-mockable functions Similar to the concept of spying in Mockito (http://static.javadoc.io/org.mockito/mockito-core/2.20.0/org/mockito/Mockito.html#spy-T-), this adds the concept of redirect-mockable function declarations which allow a function declared redirect-mockable to be mocked *and* to allow the mock to redirect to the original function definition. Change-Id: I36577b240f72a340732ad86bdd6d8444a5546ef3 Signed-off-by: Brendan Higgins <brendanhiggins@google.com>