#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 <os/fosi.h>#include <boost/function_types/function_type.hpp>#include <OperationCaller.hpp>
Go to the source code of this file.
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 (calling_error_does_not_override_a_stop_transition) | |
| BOOST_AUTO_TEST_CASE (calling_recover_does_not_override_a_stop_transition) | |
| BOOST_AUTO_TEST_CASE (testErrorHook_is_not_called_during_stop) | |
| BOOST_AUTO_TEST_CASE (testTaskCore_bails_out_if_configureHook_returns_true_but_exception_was_called) | |
| BOOST_AUTO_TEST_CASE (testTaskCore_bails_out_if_startHook_returns_true_but_exception_was_called) | |
| BOOST_AUTO_TEST_CASE | ( | testPeriod | ) |
Tests the initial period of a TC after setting an activity.
Definition at line 213 of file taskstates_test.cpp.
| BOOST_AUTO_TEST_CASE | ( | testTrigger | ) |
Tests the trigger() from updateHook().
Definition at line 236 of file taskstates_test.cpp.
| BOOST_AUTO_TEST_CASE | ( | testBreakUpdateHook | ) |
Tests the breakUpdateHook() calling from stop().
Definition at line 295 of file taskstates_test.cpp.
| BOOST_AUTO_TEST_CASE | ( | testStopInUpdateHook | ) |
Tests the calling stop() from updateHook().
Definition at line 323 of file taskstates_test.cpp.
| BOOST_AUTO_TEST_CASE | ( | testSetPeriod | ) |
Tests the setPeriod function
Definition at line 357 of file taskstates_test.cpp.
| BOOST_AUTO_TEST_CASE | ( | testTCStates | ) |
Tests the normal TC states.
Definition at line 374 of file taskstates_test.cpp.
| BOOST_AUTO_TEST_CASE | ( | testSpecialTCStates | ) |
Tests if every hook was called.
Definition at line 426 of file taskstates_test.cpp.
| BOOST_AUTO_TEST_CASE | ( | testFailingTCStates | ) |
Tests the Error states
Definition at line 513 of file taskstates_test.cpp.
| BOOST_AUTO_TEST_CASE | ( | calling_error_does_not_override_a_stop_transition | ) |
Definition at line 627 of file taskstates_test.cpp.
| BOOST_AUTO_TEST_CASE | ( | calling_recover_does_not_override_a_stop_transition | ) |
Definition at line 659 of file taskstates_test.cpp.
| BOOST_AUTO_TEST_CASE | ( | testErrorHook_is_not_called_during_stop | ) |
Definition at line 695 of file taskstates_test.cpp.
| BOOST_AUTO_TEST_CASE | ( | testTaskCore_bails_out_if_configureHook_returns_true_but_exception_was_called | ) |
Definition at line 720 of file taskstates_test.cpp.
| BOOST_AUTO_TEST_CASE | ( | testTaskCore_bails_out_if_startHook_returns_true_but_exception_was_called | ) |
Definition at line 737 of file taskstates_test.cpp.