Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | kunit: move string-stream.h to lib/kunit | Alan Maguire | 2020-01-10 | 1 | -1/+2 |
| | | | | | | | | | | | | string-stream interfaces are not intended for external use; move them from include/kunit to lib/kunit accordingly. Co-developed-by: Knut Omang <knut.omang@oracle.com> Signed-off-by: Knut Omang <knut.omang@oracle.com> Signed-off-by: Alan Maguire <alan.maguire@oracle.com> Reviewed-by: Brendan Higgins <brendanhiggins@google.com> Tested-by: Brendan Higgins <brendanhiggins@google.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org> | ||||
* | kunit: test: add assertion printing library | Brendan Higgins | 2019-10-01 | 1 | -0/+356 |
Add `struct kunit_assert` and friends which provide a structured way to capture data from an expectation or an assertion (introduced later in the series) so that it may be printed out in the event of a failure. Signed-off-by: Brendan Higgins <brendanhiggins@google.com> Reviewed-by: Stephen Boyd <sboyd@kernel.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org> |