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:
kar-rahul-aws 2023-07-18 15:12:00 +05:30 committed by GitHub
parent 9f6437ca6a
commit 8b98d08bcc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 35 additions and 20 deletions

View file

@ -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 */