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_unsuccessful_try

Proto:static void kunit_test_unsuccessful_try(void *data)

Type:void

Parameter:

TypeParameterName
void *data
46  test = data
47  ctx = priv
48  try_catch = try_catch
50  kunit_try_catch_throw(try_catch)
51  KUNIT_FAIL() - Always causes a test to fail when evaluated.*@test: The test context object.*@fmt: an informational message to be printed when the assertion is made.*@...: string format arguments.(test, "This line should never be reached\n")