distortos  v0.4.0
object-oriented C++ RTOS for microcontrollers
ThreadSleepUntilTestCase.cpp File Reference

ThreadSleepUntilTestCase class implementation. More...

Include dependency graph for ThreadSleepUntilTestCase.cpp:

Namespaces

 distortos
 Top-level namespace of distortos project.
 
 distortos::test
 Functional tests of distortos project.
 

Functions

void distortos::test::anonymous_namespace{ThreadSleepUntilTestCase.cpp}::thread (const TickClock::time_point sleepUntil, SequenceAsserter &sequenceAsserter, const unsigned int sequencePoint, TickClock::duration &timePointDeviation, int &sharedRet)
 Test thread. More...
 
DynamicThread distortos::test::anonymous_namespace{ThreadSleepUntilTestCase.cpp}::makeTestThread (const TickClock::time_point now, const ThreadParameters &threadParameters, SequenceAsserter &sequenceAsserter, TickClock::duration &timePointDeviation, int &sharedRet)
 Builder of test threads. More...
 

Variables

constexpr size_t distortos::test::anonymous_namespace{ThreadSleepUntilTestCase.cpp}::testThreadStackSize {512}
 size of stack for test thread, bytes More...
 
constexpr uint8_t distortos::test::anonymous_namespace{ThreadSleepUntilTestCase.cpp}::timePointOffset {10}
 offset added to sleepUntil time points - there is some time between configuring thread and actually starting it... More...
 

Detailed Description

ThreadSleepUntilTestCase class implementation.

Author
Copyright (C) 2014-2017 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info
License
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.