函数逻辑报告 |
Source Code:lib\kunit\test-test.c |
Create Date:2022-07-27 07:36:52 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:TODO(brendanhiggins@google.com): replace the arrays that keep track of the* order of allocation and freeing with strict mocks using the IN_SEQUENCE macro* to assert allocation and freeing order when the feature becomes available.
函数原型:static void kunit_resource_test_proper_free_ordering(struct kunit *test)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct kunit * | test |
269 | kunit_alloc_and_get_resource( & test, fake_resource_1_init, fake_resource_1_free, GFP_KERNEL, ctx) |
280 | KUNIT_EXPECT_EQ() - Sets an expectation that @left and @right are equal(test, allocate_order[0], 2) |
281 | KUNIT_EXPECT_EQ() - Sets an expectation that @left and @right are equal(test, allocate_order[1], 1) |
283 | kunit_cleanup( & test) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |