Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\kunit\test-test.c Create Date:2022-07-28 06:39:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kunit_test_try_catch_successful_try_no_catch

Proto:static void kunit_test_try_catch_successful_try_no_catch(struct kunit *test)

Type:void

Parameter:

TypeParameterName
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)