diff --git a/FreeRTOS/Test/CMock/tasks/tasks_1_utest.c b/FreeRTOS/Test/CMock/tasks/tasks_1_utest.c index 1c38023f19..dbbd77b5fc 100644 --- a/FreeRTOS/Test/CMock/tasks/tasks_1_utest.c +++ b/FreeRTOS/Test/CMock/tasks/tasks_1_utest.c @@ -4949,8 +4949,6 @@ void test_ulTaskGenericNotifyTake_success( void ) task_handle = create_task(); task_handle->ulNotifiedValue[ uxIndexToWait ] = 0; /* Expectations */ - /* xTaskResumeAll */ - listLIST_IS_EMPTY_ExpectAndReturn( &xPendingReadyList, pdTRUE ); /* API Call */ ret_gen_notify_take = ulTaskGenericNotifyTake( uxIndexToWait, pdFALSE, @@ -4971,8 +4969,6 @@ void test_ulTaskGenericNotifyTake_success2( void ) task_handle = create_task(); task_handle->ulNotifiedValue[ uxIndexToWait ] = 2; /* Expectations */ - /* xTaskResumeAll */ - listLIST_IS_EMPTY_ExpectAndReturn( &xPendingReadyList, pdTRUE ); /* API Call */ ret_gen_notify_take = ulTaskGenericNotifyTake( uxIndexToWait, pdFALSE, @@ -4993,8 +4989,6 @@ void test_ulTaskGenericNotifyTake_success_clear_count( void ) task_handle = create_task(); task_handle->ulNotifiedValue[ uxIndexToWait ] = 5; /* Expectations */ - /* xTaskResumeAll */ - listLIST_IS_EMPTY_ExpectAndReturn( &xPendingReadyList, pdTRUE ); /* API Call */ ret_gen_notify_take = ulTaskGenericNotifyTake( uxIndexToWait, pdTRUE, @@ -5658,8 +5652,6 @@ void test_xTaskGenericNotifyWait_success_notif_received( void ) ptcb->ucNotifyState[ uxIndexToWait ] = 2; /* taskNOTIFICATION_RECEIVED */ ptcb->ulNotifiedValue[ uxIndexToWait ] = 5; /* Expectations */ - /* xTaskResumeAll */ - listLIST_IS_EMPTY_ExpectAndReturn( &xPendingReadyList, pdTRUE ); /* API Call */ ret = xTaskGenericNotifyWait( uxIndexToWait, ulBitsToClearOnEntry, @@ -5723,8 +5715,6 @@ void test_xTaskGenericNotifyWait_success_notif_not_received_no_wait( void ) ptcb->ucNotifyState[ uxIndexToWait ] = 1; /* taskWAITING_NOTIFICATION */ ptcb->ulNotifiedValue[ uxIndexToWait ] = 5; /* Expectations */ - /* xTaskResumeAll */ - listLIST_IS_EMPTY_ExpectAndReturn( &xPendingReadyList, pdTRUE ); /* API Call */ ret = xTaskGenericNotifyWait( uxIndexToWait, ulBitsToClearOnEntry, @@ -5753,8 +5743,6 @@ void test_xTaskGenericNotifyWait_success_notif_not_received_pull_null( void ) ptcb->ucNotifyState[ uxIndexToWait ] = 1; /* taskWAITING_NOTIFICATION */ ptcb->ulNotifiedValue[ uxIndexToWait ] = 5; /* Expectations */ - /* xTaskResumeAll */ - listLIST_IS_EMPTY_ExpectAndReturn( &xPendingReadyList, pdTRUE ); /* API Call */ ret = xTaskGenericNotifyWait( uxIndexToWait, ulBitsToClearOnEntry,