-
Notifications
You must be signed in to change notification settings - Fork 5.3k
[utest]: [signal]: Add Standardized function comment blocks. #10914
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
13a57ca
394df75
56a897e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -17,6 +17,115 @@ | |||||
| * case 8:rt_signal_kill, kill illegal thread, return failed (unused); | ||||||
| * case 9:rt_signal_kill, kill illegal signo, return -RT_EINVAL; | ||||||
| * | ||||||
| * | ||||||
| * Test Case Name: [rt_signal_tc] | ||||||
| * | ||||||
| * Test Objectives: | ||||||
| * - [rt_signal_install_test]: Verify the correctness of the rt_signal_install function's | ||||||
| * - functionality. The registration of the signal handler should be completed correctly. | ||||||
| * - Include Case1 and Case2. | ||||||
| * | ||||||
| * - [rt_signal_mask_test]: Verify the correctness of the rt_signal_unmask functions's | ||||||
| * - functionality. The signal handler will only be triggered when the signal is unmasked. | ||||||
| * - Include Case3. | ||||||
| * | ||||||
| * - [rt_signal_unmask_test]: Verify the correctness of the rt_signal_mask functions's | ||||||
|
||||||
| * - [rt_signal_unmask_test]: Verify the correctness of the rt_signal_mask functions's | |
| * - [rt_signal_unmask_test]: Verify the correctness of the rt_signal_mask function's |
Outdated
Copilot
AI
Nov 10, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spelling Error / 拼写错误
English: The word "recive_sig" is misspelled. It should be "receive_sig" (missing the second 'e').
中文:单词 "recive_sig" 拼写错误,应为 "receive_sig"(缺少第二个 'e')。
Outdated
Copilot
AI
Nov 10, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spelling Error / 拼写错误
English: The word "recive_sig" is misspelled. It should be "receive_sig" (missing the second 'e').
中文:单词 "recive_sig" 拼写错误,应为 "receive_sig"(缺少第二个 'e')。
Copilot
AI
Nov 10, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spelling Error / 拼写错误
English: The word "Verifieds" is grammatically incorrect. It should be "Verifies" (third person singular present tense).
中文:单词 "Verifieds" 语法错误,应为 "Verifies"(第三人称单数现在时)。
| * - Case9 Verifies that when an invalid signal is sent using rt_signal_kill, the function returns | |
| * - Case9 verifies that when an invalid signal is sent using rt_signal_kill, the function returns |
Outdated
Copilot
AI
Nov 10, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spelling Error / 拼写错误
English: The word "recive_sig" is misspelled. It should be "receive_sig" (missing the second 'e').
中文:单词 "recive_sig" 拼写错误,应为 "receive_sig"(缺少第二个 'e')。
Outdated
Copilot
AI
Nov 10, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spelling Error / 拼写错误
English: The word "verifieds" is grammatically incorrect. It should be "verifies" (third person singular present tense).
中文:单词 "verifieds" 语法错误,应为 "verifies"(第三人称单数现在时)。
| * - and thus did not release the semaphore. Finally, the test case verifieds that the receive_sig | |
| * - and thus did not release the semaphore. Finally, the test case verifies that the receive_sig |
Outdated
Copilot
AI
Nov 10, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spelling Error / 拼写错误
English: The word "recive_sig" is misspelled. It should be "receive_sig" (missing the second 'e').
中文:单词 "recive_sig" 拼写错误,应为 "receive_sig"(缺少第二个 'e')。
Outdated
Copilot
AI
Nov 10, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spelling Error / 拼写错误
English: The word "recive_sig" is misspelled. It should be "receive_sig" (missing the second 'e').
中文:单词 "recive_sig" 拼写错误,应为 "receive_sig"(缺少第二个 'e')。
Outdated
Copilot
AI
Nov 10, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spelling Error / 拼写错误
English: The word "recive_sig" is misspelled. It should be "receive_sig" (missing the second 'e').
中文:单词 "recive_sig" 拼写错误,应为 "receive_sig"(缺少第二个 'e')。
Outdated
Copilot
AI
Nov 10, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spelling Error / 拼写错误
English: The word "recive_sig" is misspelled. It should be "receive_sig" (missing the second 'e').
中文:单词 "recive_sig" 拼写错误,应为 "receive_sig"(缺少第二个 'e')。
Outdated
Copilot
AI
Nov 10, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spelling Error / 拼写错误
English: The word "recive_sig" is misspelled. It should be "receive_sig" (missing the second 'e').
中文:单词 "recive_sig" 拼写错误,应为 "receive_sig"(缺少第二个 'e')。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Documentation Issue / 文档问题
English: Line 28 states this test verifies "rt_signal_unmask" but it should be "rt_signal_mask". The function name "rt_signal_mask_test" tests the unmask functionality (when signals are unmasked and should be received), not the mask functionality.
中文:第 28 行说明该测试验证 "rt_signal_unmask" 函数,但应该是 "rt_signal_mask"。函数名 "rt_signal_mask_test" 测试的是 unmask 功能(信号取消屏蔽后应该被接收),而非 mask 功能。