函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\kunit\test-test.c Create Date:2022-07-27 07:36:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:kunit_test_try_catch_successful_try_no_catch

函数原型:static void kunit_test_try_catch_successful_try_no_catch(struct kunit *test)

返回类型:void

参数:

类型参数名称
struct kunit *test
32  ctx等于priv
33  try_catch等于try_catch
35  kunit_try_catch_init(try_catch, test, kunit_test_successful_try, kunit_test_no_catch)
39  kunit_try_catch_run(try_catch, test)
41  KUNIT_EXPECT_TRUE() - Causes a test failure when the expression is not true(test, function_called)