mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-15 17:27:46 -04:00
Update queue Unit Tests to add uxQueueItemSize (#1040)
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
This commit is contained in:
parent
9f6437ca6a
commit
8b98d08bcc
4 changed files with 35 additions and 20 deletions
|
@ -294,7 +294,7 @@ void test_xQueuePeek_noop_waiting_higher_priority( void )
|
|||
|
||||
TEST_ASSERT_EQUAL( 1, uxQueueMessagesWaiting( xQueue ) );
|
||||
|
||||
/* Veify that the task Yielded */
|
||||
/* Verify that the task Yielded */
|
||||
TEST_ASSERT_EQUAL( 1, td_task_getYieldCount() );
|
||||
|
||||
/* Check that vTaskMissedYield was called */
|
||||
|
@ -338,7 +338,7 @@ void test_xQueuePeek_xQueuePeek_waiting_higher_priority( void )
|
|||
|
||||
TEST_ASSERT_EQUAL( 1, uxQueueMessagesWaiting( xQueue ) );
|
||||
|
||||
/* Veify that the task Yielded */
|
||||
/* Verify that the task Yielded */
|
||||
TEST_ASSERT_EQUAL( 1, td_task_getYieldCount() );
|
||||
|
||||
/* Check that vTaskMissedYield was called */
|
||||
|
@ -382,7 +382,7 @@ void test_xQueuePeek_xQueueReceive_waiting_higher_priority( void )
|
|||
|
||||
TEST_ASSERT_EQUAL( 0, uxQueueMessagesWaiting( xQueue ) );
|
||||
|
||||
/* Veify that the task Yielded */
|
||||
/* Verify that the task Yielded */
|
||||
TEST_ASSERT_EQUAL( 1, td_task_getYieldCount() );
|
||||
|
||||
/* Check that vTaskMissedYield was called */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue