Classes | |
class | Stop1ExecutorForTests |
class | Stop1ExecutorTest |
Functions | |
TEST_F (Stop1ExecutorTest, testDestructor) | |
Test increases function coverage by ensuring that all Dtor variants are called. More... | |
TEST_F (Stop1ExecutorTest, testEnable) | |
TEST_F (Stop1ExecutorTest, testEnableStopEnable) | |
TEST_F (Stop1ExecutorTest, testSpamEnablePlusStop) | |
Test spaming enable plus subsequent stop. More... | |
TEST_F (Stop1ExecutorTest, testSpamRunPermittedActivePlusEnable) | |
Test spamming RUN_PERMITTED=false plus subsequent enable. More... | |
TEST_F (Stop1ExecutorTest, testSkippingHoldPlusEnable) | |
TEST_F (Stop1ExecutorTest, testEnableDuringHoldService) | |
TEST_F (Stop1ExecutorTest, testEnableDuringHaltService) | |
TEST_F (Stop1ExecutorTest, testEnableDisableDuringHaltService) | |
TEST_F (Stop1ExecutorTest, testRecoverFailPlusRetry) | |
TEST_F (Stop1ExecutorTest, testUnholdFail) | |
TEST_F (Stop1ExecutorTest, testHoldFail) | |
TEST_F (Stop1ExecutorTest, testHoldImmediatelyAfterUnhold) | |
Test hold immediately when run_permitted changes to false during unhold. More... | |
TEST_F (Stop1ExecutorTest, testExitInStateEnabling) | |
Test stopping the state machine in state Enabling. More... | |
TEST_F (Stop1ExecutorTest, testExitInStateStopping) | |
Test stopping the state machine in state Stopping. More... | |
TEST_F (Stop1ExecutorTest, testExitInStateStopRequestedDuringEnable) | |
Test stopping the state machine in state StopRequestedDuringEnable. More... | |
TEST_F (Stop1ExecutorTest, testExitInStateEnableRequestDuringStop) | |
Test stopping the state machine in state EnableRequestDuringStop. More... | |
Variables | |
const std::string | HALT_SRV_CALLED_EVENT {"halt_srv_called"} |
const std::string | HOLD_SRV_CALLED_EVENT {"hold_srv_called"} |
const std::string | RECOVER_SRV_CALLED_EVENT {"recover_srv_called"} |
const std::string | UNHOLD_SRV_CALLED_EVENT {"unhold_srv_called"} |
prbt_hardware_support_tests::TEST_F | ( | Stop1ExecutorTest | , |
testDestructor | |||
) |
Test increases function coverage by ensuring that all Dtor variants are called.
Definition at line 114 of file unittest_stop1_executor.cpp.
prbt_hardware_support_tests::TEST_F | ( | Stop1ExecutorTest | , |
testEnable | |||
) |
Test Sequence:
Expected Results:
Definition at line 144 of file unittest_stop1_executor.cpp.
prbt_hardware_support_tests::TEST_F | ( | Stop1ExecutorTest | , |
testEnableStopEnable | |||
) |
Test Sequence:
Expected Results:
Definition at line 180 of file unittest_stop1_executor.cpp.
prbt_hardware_support_tests::TEST_F | ( | Stop1ExecutorTest | , |
testSpamEnablePlusStop | |||
) |
Test spaming enable plus subsequent stop.
Test Sequence:
Expected Results:
Definition at line 251 of file unittest_stop1_executor.cpp.
prbt_hardware_support_tests::TEST_F | ( | Stop1ExecutorTest | , |
testSpamRunPermittedActivePlusEnable | |||
) |
Test spamming RUN_PERMITTED=false plus subsequent enable.
Test Sequence:
Expected Results:
Definition at line 316 of file unittest_stop1_executor.cpp.
prbt_hardware_support_tests::TEST_F | ( | Stop1ExecutorTest | , |
testSkippingHoldPlusEnable | |||
) |
Test Sequence:
Expected Results:
Definition at line 392 of file unittest_stop1_executor.cpp.
prbt_hardware_support_tests::TEST_F | ( | Stop1ExecutorTest | , |
testEnableDuringHoldService | |||
) |
Test Sequence:
Expected Results:
Definition at line 462 of file unittest_stop1_executor.cpp.
prbt_hardware_support_tests::TEST_F | ( | Stop1ExecutorTest | , |
testEnableDuringHaltService | |||
) |
Test Sequence:
Expected Results:
Definition at line 520 of file unittest_stop1_executor.cpp.
prbt_hardware_support_tests::TEST_F | ( | Stop1ExecutorTest | , |
testEnableDisableDuringHaltService | |||
) |
Test Sequence:
Expected Results:
Definition at line 589 of file unittest_stop1_executor.cpp.
prbt_hardware_support_tests::TEST_F | ( | Stop1ExecutorTest | , |
testRecoverFailPlusRetry | |||
) |
Test Sequence:
Expected Results:
Definition at line 652 of file unittest_stop1_executor.cpp.
prbt_hardware_support_tests::TEST_F | ( | Stop1ExecutorTest | , |
testUnholdFail | |||
) |
Test Sequence:
Expected Results:
Definition at line 722 of file unittest_stop1_executor.cpp.
prbt_hardware_support_tests::TEST_F | ( | Stop1ExecutorTest | , |
testHoldFail | |||
) |
Test Sequence:
Expected Results:
Definition at line 773 of file unittest_stop1_executor.cpp.
prbt_hardware_support_tests::TEST_F | ( | Stop1ExecutorTest | , |
testHoldImmediatelyAfterUnhold | |||
) |
Test hold immediately when run_permitted changes to false during unhold.
Test Sequence:
Expected Results:
Definition at line 823 of file unittest_stop1_executor.cpp.
prbt_hardware_support_tests::TEST_F | ( | Stop1ExecutorTest | , |
testExitInStateEnabling | |||
) |
Test stopping the state machine in state Enabling.
Test Sequence:
Expected Results:
Definition at line 867 of file unittest_stop1_executor.cpp.
prbt_hardware_support_tests::TEST_F | ( | Stop1ExecutorTest | , |
testExitInStateStopping | |||
) |
Test stopping the state machine in state Stopping.
Test Sequence:
Expected Results:
Definition at line 909 of file unittest_stop1_executor.cpp.
prbt_hardware_support_tests::TEST_F | ( | Stop1ExecutorTest | , |
testExitInStateStopRequestedDuringEnable | |||
) |
Test stopping the state machine in state StopRequestedDuringEnable.
Test Sequence:
Expected Results:
Definition at line 966 of file unittest_stop1_executor.cpp.
prbt_hardware_support_tests::TEST_F | ( | Stop1ExecutorTest | , |
testExitInStateEnableRequestDuringStop | |||
) |
Test stopping the state machine in state EnableRequestDuringStop.
Test Sequence:
Expected Results:
Definition at line 1013 of file unittest_stop1_executor.cpp.
const std::string prbt_hardware_support_tests::HALT_SRV_CALLED_EVENT {"halt_srv_called"} |
Definition at line 66 of file unittest_stop1_executor.cpp.
const std::string prbt_hardware_support_tests::HOLD_SRV_CALLED_EVENT {"hold_srv_called"} |
Definition at line 65 of file unittest_stop1_executor.cpp.
const std::string prbt_hardware_support_tests::RECOVER_SRV_CALLED_EVENT {"recover_srv_called"} |
Definition at line 63 of file unittest_stop1_executor.cpp.
const std::string prbt_hardware_support_tests::UNHOLD_SRV_CALLED_EVENT {"unhold_srv_called"} |
Definition at line 64 of file unittest_stop1_executor.cpp.