#include "unit.hpp"#include <iostream>#include <TaskContext.hpp>#include <extras/SlaveActivity.hpp>#include <extras/SequentialActivity.hpp>#include <extras/SimulationActivity.hpp>#include <extras/SimulationThread.hpp>#include <boost/function_types/function_type.hpp>#include <OperationCaller.hpp>
Go to the source code of this file.
Classes | |
| struct | A |
| class | StatesTC |
| class | TaskStates_Test |
Functions | |
| BOOST_AUTO_TEST_CASE (testPeriod) | |
| BOOST_AUTO_TEST_CASE (testTrigger) | |
| BOOST_AUTO_TEST_CASE (testBreakUpdateHook) | |
| BOOST_AUTO_TEST_CASE (testStopInUpdateHook) | |
| BOOST_AUTO_TEST_CASE (testSetPeriod) | |
| BOOST_AUTO_TEST_CASE (testTCStates) | |
| BOOST_AUTO_TEST_CASE (testSpecialTCStates) | |
| BOOST_AUTO_TEST_CASE (testFailingTCStates) | |
| BOOST_AUTO_TEST_CASE (testExecutionEngine) | |
| BOOST_AUTO_TEST_CASE | ( | testPeriod | ) |
Tests the initial period of a TC after setting an activity.
Definition at line 212 of file taskstates_test.cpp.
| BOOST_AUTO_TEST_CASE | ( | testTrigger | ) |
Tests the trigger() from updateHook().
Definition at line 233 of file taskstates_test.cpp.
| BOOST_AUTO_TEST_CASE | ( | testBreakUpdateHook | ) |
Tests the breakUpdateHook() calling from stop().
Definition at line 292 of file taskstates_test.cpp.
| BOOST_AUTO_TEST_CASE | ( | testStopInUpdateHook | ) |
Tests the calling stop() from updateHook().
Definition at line 320 of file taskstates_test.cpp.
| BOOST_AUTO_TEST_CASE | ( | testSetPeriod | ) |
Tests the setPeriod function
Definition at line 354 of file taskstates_test.cpp.
| BOOST_AUTO_TEST_CASE | ( | testTCStates | ) |
Tests the normal TC states.
Definition at line 371 of file taskstates_test.cpp.
| BOOST_AUTO_TEST_CASE | ( | testSpecialTCStates | ) |
Tests if every hook was called.
Definition at line 423 of file taskstates_test.cpp.
| BOOST_AUTO_TEST_CASE | ( | testFailingTCStates | ) |
Tests the Error states
Definition at line 510 of file taskstates_test.cpp.
| BOOST_AUTO_TEST_CASE | ( | testExecutionEngine | ) |
Definition at line 609 of file taskstates_test.cpp.