Message Queue Functions Test Cases.
More...
The test cases check the osMessage* functions.
void TC_MsgFromISRToThread |
( |
void |
| ) |
|
- Periodically put messages into queue from the ISR
- Pool for messages in a thread
- Get and verify these messages
void TC_MsgFromThreadToISR |
( |
void |
| ) |
|
- Continuously put messages into queue from a thread
- Periodically trigger ISR, then get and verify message in it
void TC_MsgQBasic |
( |
void |
| ) |
|
- Fill message queue with messages
- Get all messages from queue
- Check if messages are correct
void TC_MsgQInterrupts |
( |
void |
| ) |
|
- Call all message queue management functions from the ISR
void TC_MsgQParam |
( |
void |
| ) |
|
- Test message queue management functions with invalid parameters
void TC_MsgQWait |
( |
void |
| ) |
|
- Reset global counter
- Create a thread that increments a counter and waits for message
- Verify if counter incremented
- Send message to the waiting thread
- Verify if counter incremented
- Verify if message received