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
|
@ -115,10 +115,10 @@ void test_xQueueCreateSet_oneLength( void )
|
|||
|
||||
TEST_ASSERT_EQUAL( QUEUE_T_SIZE + sizeof( void * ), getLastMallocSize() );
|
||||
|
||||
/* Veify that QueueSet is not full */
|
||||
/* Verify that QueueSet is not full */
|
||||
TEST_ASSERT_EQUAL( 1, uxQueueSpacesAvailable( xQueueSet ) );
|
||||
|
||||
/* Veify that QueueSet is empty */
|
||||
/* Verify that QueueSet is empty */
|
||||
TEST_ASSERT_EQUAL( 0, uxQueueMessagesWaiting( xQueueSet ) );
|
||||
|
||||
vQueueDelete( xQueueSet );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue