This test case calls functions of the Barrier Manager which are included in the space profile.
More...
|
void | T_case_body_TestsuitesValidationClassicBarrier (void) |
|
This test case calls functions of the Barrier Manager which are included in the space profile.
This test case performs the following actions:
- Set an object identifier to an invalid value and create an automatic release barrier object for one task.
- Check that the barrier creation was successful.
- Set a second object identifier to an invalid value and identify a barrier object by its name.
- Check that the barrier identification by name was successful.
- Check that the second identifier is equal to the one returned by the barrier creation.
- Set the count of released tasks to one and release the barrier.
- Check that the barrier release was successful.
- Check that the count of released tasks is zero.
- Wait with an infinite timeout for the barrier.
- Check that the barrier wait was successful.