Hi
Sounds like you want to test you callback function and not the callback mechanism burried in the RTOS.
To test the callback function, just call it.
If the callback is a static function, and you are unit testing, you can have a fake RegisterTimer() function that saves the callback function so you can get to it for test.
Take a look at TDD next to the RTOS articles
https://wingman-sw.com/articles/tdd-next-to-the-rtos
wingman-sw.com--
You received this message because you are subscribed to the Google Groups "cpputest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cpputest+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.