Function report |
Source Code:lib\kunit\assert.c |
Create Date:2022-07-28 06:38:58 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:SPDX-License-Identifier: GPL-2.0
Proto:void kunit_base_assert_format(const struct kunit_assert *assert, struct string_stream *stream)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
const struct kunit_assert * | assert | |
struct string_stream * | stream |
13 | const char * expect_or_assert = NULL |
16 | Case type == KUNIT_EXPECTATION |
17 | expect_or_assert = "EXPECTATION" |
18 | Break |
19 | Case type == KUNIT_ASSERTION |
20 | expect_or_assert = "ASSERTION" |
21 | Break |
24 | string_stream_add(stream, "%s FAILED at %s:%d\n", expect_or_assert, file, line) |
Name | Describe |
---|---|
kunit_fail_assert_format | |
kunit_unary_assert_format | |
kunit_ptr_not_err_assert_format | |
kunit_binary_assert_format | |
kunit_binary_ptr_assert_format | |
kunit_binary_str_assert_format |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |