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

SignalCatchingOperationsTestCase class implementation. More...

Include dependency graph for SignalCatchingOperationsTestCase.cpp:

Namespaces

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

Macros

#define SIGNAL_CATCHING_OPERATIONS_TEST_CASE_ENABLED
 configuration required by SignalCatchingOperationsTestCase More...
 

Functions

bool distortos::test::anonymous_namespace{SignalCatchingOperationsTestCase.cpp}::phase1 ()
 Phase 1 of test case. More...
 
bool distortos::test::anonymous_namespace{SignalCatchingOperationsTestCase.cpp}::phase2 ()
 Phase 2 of test case. More...
 

Variables

constexpr size_t distortos::test::anonymous_namespace{SignalCatchingOperationsTestCase.cpp}::testThreadStackSize {512}
 size of stack for test threads, bytes More...
 
decltype(statistics::getContextSwitchCount()) constexpr distortos::test::anonymous_namespace{SignalCatchingOperationsTestCase.cpp}::phase2ThreadContextSwitchCount {2}
 

Detailed Description

SignalCatchingOperationsTestCase class implementation.

Author
Copyright (C) 2015-2016 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/.

Macro Definition Documentation

◆ SIGNAL_CATCHING_OPERATIONS_TEST_CASE_ENABLED

#define SIGNAL_CATCHING_OPERATIONS_TEST_CASE_ENABLED
Value:
defined(CONFIG_MAIN_THREAD_SIGNAL_ACTIONS) && \
CONFIG_MAIN_THREAD_SIGNAL_ACTIONS >= 1 && CONFIG_MAIN_THREAD_SIGNAL_ACTIONS <= 31

configuration required by SignalCatchingOperationsTestCase