distortos  v0.4.0
object-oriented C++ RTOS for microcontrollers
distortos::test::SemaphoreOperationsTestCase Class Reference

Tests various semaphore operations. More...

#include <SemaphoreOperationsTestCase.hpp>

Inheritance diagram for distortos::test::SemaphoreOperationsTestCase:
Collaboration diagram for distortos::test::SemaphoreOperationsTestCase:

Private Member Functions

bool run_ () const override
 Runs the test case. More...

Additional Inherited Members

- Public Member Functions inherited from distortos::test::TestCase
bool run () const
 Public function to start the test case. More...
- Protected Member Functions inherited from distortos::test::TestCaseCommon
bool finalize () const override
 Finalizes the test case. More...
bool initialize () const override
 Initializes the test case. More...

Detailed Description

Tests various semaphore operations.

Tests waiting (wait(), tryWait(), tryWaitFor() and tryWaitUntil()) and posting of semaphore.

Member Function Documentation

◆ run_()

bool distortos::test::SemaphoreOperationsTestCase::run_ ( ) const

Runs the test case.

true if the test case succeeded, false otherwise

Implements distortos::test::TestCase.

Here is the call graph for this function:

The documentation for this class was generated from the following files: