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

Tests ordering of software timers. More...

#include <SoftwareTimerOrderingTestCase.hpp>

Inheritance diagram for distortos::test::SoftwareTimerOrderingTestCase:
Collaboration diagram for distortos::test::SoftwareTimerOrderingTestCase:

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 ordering of software timers.

Creates 8 software timers and starts them with varying duration, asserting that they execute in the expected order.

Member Function Documentation

◆ run_()

bool distortos::test::SoftwareTimerOrderingTestCase::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: