mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-14 08:47:45 -04:00
Fix vTaskSuspendAll assertion unit test (#1204)
* Update kernel submodule to address vTaskDelete and vTaskSuspend change
This commit is contained in:
parent
eb97c5d325
commit
28177788d0
2 changed files with 3 additions and 3 deletions
|
@ -583,8 +583,8 @@ void test_prvGetExpectedIdleTime_assert_nextUnblock_lt_xTickCount( void )
|
|||
|
||||
/* vTaskSuspendAll */
|
||||
vFakePortAssertIfISR_Expect();
|
||||
vFakePortGetCoreID_ExpectAndReturn( 0 );
|
||||
ulFakePortSetInterruptMask_ExpectAndReturn( 0 );
|
||||
vFakePortGetCoreID_ExpectAndReturn( 0 );
|
||||
vFakePortGetTaskLock_Expect();
|
||||
vFakePortGetISRLock_Expect();
|
||||
vFakePortReleaseISRLock_Expect();
|
||||
|
|
|
@ -800,8 +800,8 @@ void test_coverage_prvGetExpectedIdleTime_ready_list_eq_1( void )
|
|||
|
||||
/* vTaskSuspendAll */
|
||||
vFakePortAssertIfISR_Expect();
|
||||
vFakePortGetCoreID_ExpectAndReturn( 0 );
|
||||
ulFakePortSetInterruptMask_ExpectAndReturn( 0 );
|
||||
vFakePortGetCoreID_ExpectAndReturn( 0 );
|
||||
vFakePortGetTaskLock_Expect();
|
||||
/* prvCheckForRunStateChange */
|
||||
vFakePortAssertIfISR_Expect();
|
||||
|
@ -906,8 +906,8 @@ void test_coverage_prvGetExpectedIdleTime_ready_list_eq_2( void )
|
|||
|
||||
/* vTaskSuspendAll */
|
||||
vFakePortAssertIfISR_Stub( port_assert_if_isr_cb );
|
||||
vFakePortGetCoreID_ExpectAndReturn( 0 );
|
||||
ulFakePortSetInterruptMask_ExpectAndReturn( 0 );
|
||||
vFakePortGetCoreID_ExpectAndReturn( 0 );
|
||||
vFakePortGetTaskLock_Expect();
|
||||
/* prvCheckForRunStateChange */
|
||||
vFakePortGetCoreID_ExpectAndReturn( 0 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue