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 105 of file unittest_stop1_executor.cpp.
prbt_hardware_support_tests::TEST_F | ( | Stop1ExecutorTest | , |
testEnable | |||
) |
Test Sequence:
Expected Results:
Definition at line 133 of file unittest_stop1_executor.cpp.
prbt_hardware_support_tests::TEST_F | ( | Stop1ExecutorTest | , |
testEnableStopEnable | |||
) |
Test Sequence:
Expected Results:
Definition at line 169 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 245 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 315 of file unittest_stop1_executor.cpp.
prbt_hardware_support_tests::TEST_F | ( | Stop1ExecutorTest | , |
testSkippingHoldPlusEnable | |||
) |
Test Sequence:
Expected Results:
Definition at line 401 of file unittest_stop1_executor.cpp.
prbt_hardware_support_tests::TEST_F | ( | Stop1ExecutorTest | , |
testEnableDuringHoldService | |||
) |
Test Sequence:
Expected Results:
Definition at line 474 of file unittest_stop1_executor.cpp.
prbt_hardware_support_tests::TEST_F | ( | Stop1ExecutorTest | , |
testEnableDuringHaltService | |||
) |
Test Sequence:
Expected Results:
Definition at line 531 of file unittest_stop1_executor.cpp.
prbt_hardware_support_tests::TEST_F | ( | Stop1ExecutorTest | , |
testEnableDisableDuringHaltService | |||
) |
Test Sequence:
Expected Results:
Definition at line 596 of file unittest_stop1_executor.cpp.
prbt_hardware_support_tests::TEST_F | ( | Stop1ExecutorTest | , |
testRecoverFailPlusRetry | |||
) |
Test Sequence:
Expected Results:
Definition at line 655 of file unittest_stop1_executor.cpp.
prbt_hardware_support_tests::TEST_F | ( | Stop1ExecutorTest | , |
testUnholdFail | |||
) |
Test Sequence:
Expected Results:
Definition at line 728 of file unittest_stop1_executor.cpp.
prbt_hardware_support_tests::TEST_F | ( | Stop1ExecutorTest | , |
testHoldFail | |||
) |
Test Sequence:
Expected Results:
Definition at line 779 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 829 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 872 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 912 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 967 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 1012 of file unittest_stop1_executor.cpp.
const std::string prbt_hardware_support_tests::HALT_SRV_CALLED_EVENT { "halt_srv_called" } |
Definition at line 61 of file unittest_stop1_executor.cpp.
const std::string prbt_hardware_support_tests::HOLD_SRV_CALLED_EVENT { "hold_srv_called" } |
Definition at line 60 of file unittest_stop1_executor.cpp.
const std::string prbt_hardware_support_tests::RECOVER_SRV_CALLED_EVENT { "recover_srv_called" } |
Definition at line 58 of file unittest_stop1_executor.cpp.
const std::string prbt_hardware_support_tests::UNHOLD_SRV_CALLED_EVENT { "unhold_srv_called" } |
Definition at line 59 of file unittest_stop1_executor.cpp.