Unit test updates for kernel PR #1111 (#1238)

* Unit test updates for kernel PR #1111

https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/1111

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>

* Fix doxygen check

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>

---------

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
pull/1239/head
Gaurav-Aggarwal-AWS 6 months ago committed by GitHub
parent c1d2ba94c0
commit a57ee50f67
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -81,7 +81,7 @@ jobs:
# Therefore, we can just download it. # Therefore, we can just download it.
mkdir -p freertos/FreeRTOS-Plus/Source/Application-Protocols/coreMQTT-Agent/source/dependency/coreMQTT/docs/doxygen/output mkdir -p freertos/FreeRTOS-Plus/Source/Application-Protocols/coreMQTT-Agent/source/dependency/coreMQTT/docs/doxygen/output
wget -O freertos/FreeRTOS-Plus/Source/Application-Protocols/coreMQTT-Agent/source/dependency/coreMQTT/docs/doxygen/output/mqtt.tag \ wget -O freertos/FreeRTOS-Plus/Source/Application-Protocols/coreMQTT-Agent/source/dependency/coreMQTT/docs/doxygen/output/mqtt.tag \
"https://freertos.org/Documentation/api-ref/coreMQTT/docs/doxygen/output/mqtt.tag" "https://freertos.github.io/coreMQTT/main/mqtt.tag"
- name: Generate doxygen ZIP - name: Generate doxygen ZIP
uses: FreeRTOS/CI-CD-Github-Actions/doxygen@main uses: FreeRTOS/CI-CD-Github-Actions/doxygen@main

@ -5377,6 +5377,9 @@ void test_xTaskGenericNotify_success_eIncrement_ISR( void )
/* prvAddTaskToReadyList */ /* prvAddTaskToReadyList */
listINSERT_END_Expect( &pxReadyTasksLists[ ptcb->uxPriority ], listINSERT_END_Expect( &pxReadyTasksLists[ ptcb->uxPriority ],
&ptcb->xStateListItem ); &ptcb->xStateListItem );
/* prvResetNextTaskUnblockTime */
listLIST_IS_EMPTY_ExpectAndReturn( pxDelayedTaskList, pdFALSE );
listGET_ITEM_VALUE_OF_HEAD_ENTRY_ExpectAndReturn( pxDelayedTaskList, 1000 );
/* API Call */ /* API Call */
ret_task_notify = xTaskGenericNotifyFromISR( ptcb, ret_task_notify = xTaskGenericNotifyFromISR( ptcb,
@ -5415,6 +5418,10 @@ void test_xTaskGenericNotify_success_eSetValueWithOverwrite_ISR( void )
/* prvAddTaskToReadyList */ /* prvAddTaskToReadyList */
listINSERT_END_Expect( &pxReadyTasksLists[ ptcb->uxPriority ], listINSERT_END_Expect( &pxReadyTasksLists[ ptcb->uxPriority ],
&ptcb->xStateListItem ); &ptcb->xStateListItem );
/* prvResetNextTaskUnblockTime */
listLIST_IS_EMPTY_ExpectAndReturn( pxDelayedTaskList, pdFALSE );
listGET_ITEM_VALUE_OF_HEAD_ENTRY_ExpectAndReturn( pxDelayedTaskList, 1000 );
/* API Call */ /* API Call */
ret_task_notify = xTaskGenericNotifyFromISR( ptcb, ret_task_notify = xTaskGenericNotifyFromISR( ptcb,
uxIndexToNotify, uxIndexToNotify,
@ -5452,6 +5459,10 @@ void test_xTaskGenericNotify_success_eSetValueWithoutOverwrite_ISR( void )
/* prvAddTaskToReadyList */ /* prvAddTaskToReadyList */
listINSERT_END_Expect( &pxReadyTasksLists[ ptcb->uxPriority ], listINSERT_END_Expect( &pxReadyTasksLists[ ptcb->uxPriority ],
&ptcb->xStateListItem ); &ptcb->xStateListItem );
/* prvResetNextTaskUnblockTime */
listLIST_IS_EMPTY_ExpectAndReturn( pxDelayedTaskList, pdFALSE );
listGET_ITEM_VALUE_OF_HEAD_ENTRY_ExpectAndReturn( pxDelayedTaskList, 1000 );
/* API Call */ /* API Call */
ret_task_notify = xTaskGenericNotifyFromISR( ptcb, ret_task_notify = xTaskGenericNotifyFromISR( ptcb,
uxIndexToNotify, uxIndexToNotify,
@ -5561,6 +5572,9 @@ void test_xTaskGenericNotify_success_default_ISR( void )
/* prvAddTaskToReadyList */ /* prvAddTaskToReadyList */
listINSERT_END_Expect( &pxReadyTasksLists[ ptcb->uxPriority ], listINSERT_END_Expect( &pxReadyTasksLists[ ptcb->uxPriority ],
&ptcb->xStateListItem ); &ptcb->xStateListItem );
/* prvResetNextTaskUnblockTime */
listLIST_IS_EMPTY_ExpectAndReturn( pxDelayedTaskList, pdTRUE );
/* API Call */ /* API Call */
ret_task_notify = xTaskGenericNotifyFromISR( ptcb, ret_task_notify = xTaskGenericNotifyFromISR( ptcb,
uxIndexToNotify, uxIndexToNotify,
@ -5606,6 +5620,9 @@ void test_xTaskGenericNotify_success_default_ISR_task_woken_null( void )
/* prvAddTaskToReadyList */ /* prvAddTaskToReadyList */
listINSERT_END_Expect( &pxReadyTasksLists[ ptcb->uxPriority ], listINSERT_END_Expect( &pxReadyTasksLists[ ptcb->uxPriority ],
&ptcb->xStateListItem ); &ptcb->xStateListItem );
/* prvResetNextTaskUnblockTime */
listLIST_IS_EMPTY_ExpectAndReturn( pxDelayedTaskList, pdTRUE );
/* API Call */ /* API Call */
ret_task_notify = xTaskGenericNotifyFromISR( ptcb, ret_task_notify = xTaskGenericNotifyFromISR( ptcb,
uxIndexToNotify, uxIndexToNotify,
@ -5802,6 +5819,9 @@ void test_vTaskGenericNotifyGiveFromISR_success( void )
listREMOVE_ITEM_Expect( &( task_to_notify->xStateListItem ) ); listREMOVE_ITEM_Expect( &( task_to_notify->xStateListItem ) );
/* prvAddTaskToReadyList */ /* prvAddTaskToReadyList */
listINSERT_END_Expect( &( pxReadyTasksLists[ task_to_notify->uxPriority ] ), &task_to_notify->xStateListItem ); listINSERT_END_Expect( &( pxReadyTasksLists[ task_to_notify->uxPriority ] ), &task_to_notify->xStateListItem );
/* prvResetNextTaskUnblockTime */
listLIST_IS_EMPTY_ExpectAndReturn( pxDelayedTaskList, pdFALSE );
listGET_ITEM_VALUE_OF_HEAD_ENTRY_ExpectAndReturn( pxDelayedTaskList, 1000 );
/* API Call */ /* API Call */
vTaskGenericNotifyGiveFromISR( task_to_notify, vTaskGenericNotifyGiveFromISR( task_to_notify,

Loading…
Cancel
Save