|
ifw-fcf
2.0.0
|
Classes | |
| class | TestLampConfig |
| The TestLampConfig class. More... | |
| class | TestLampLcsIf |
Functions | |
| void | ExpectHelper (MockDbAdapter &mock, MockIConfig &config) |
| void | ExpectHelperNo (MockDbAdapter &mock) |
| void | ExpectReadHelper (std::shared_ptr< MockIComm > comm_if, std::shared_ptr< testLampLcsIf::TestLampConfig > &dev_cfg, int state, int substate) |
| TEST_F (TestLampLcsIf, Ctor) | |
| TEST_F (TestLampLcsIf, Config) | |
| TEST_F (TestLampLcsIf, Connect) | |
| TEST_F (TestLampLcsIf, SwitchOn) | |
| TEST_F (TestLampLcsIf, SwitchOff) | |
| TEST_F (TestLampLcsIf, IsReady) | |
| TEST_F (TestLampLcsIf, IsOperational) | |
| TEST_F (TestLampLcsIf, IsTurningOn) | |
| TEST_F (TestLampLcsIf, IsTurningOff) | |
| TEST_F (TestLampLcsIf, IsOn) | |
| TEST_F (TestLampLcsIf, IsOff) | |
| TEST_F (TestLampLcsIf, IsHwFailure) | |
| TEST_F (TestLampLcsIf, ReadStatus) | |
Variables | |
| std::string const | CONFIG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/config.yml" |
| std::string const | LAMP_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testLamp.yml" |
| std::string const | LAMP_MAP_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testMapLamp.yml" |
| std::string const | LAMP_BAD1_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testBadLamp1.yml" |
| std::string const | LAMP_BAD2_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testBadLamp2.yml" |
| std::string const | LAMP_BAD3_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testBadLamp3.yml" |
| std::string const | LAMP_BADMAP1_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testBadMapLamp1.yml" |
| std::string const | LAMP_BADMAP2_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testBadMapLamp2.yml" |
| std::string const | LAMP_BADMAP3_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testBadMapLamp3.yml" |
| const short | STATE_NOT_OPERATIONAL = fcf::devmgr::common::STATE_NOT_OPERATIONAL |
| const short | STATE_OPERATIONAL = fcf::devmgr::common::STATE_OPERATIONAL |
| const short | SUBSTATE_NOTREADY = fcf::devmgr::common::SUBSTATE_NOTREADY |
| const short | SUBSTATE_INITIALISING = fcf::devmgr::common::SUBSTATE_INITIALISING |
| const short | SUBSTATE_READY_OFF = fcf::devmgr::lamp::SUBSTATE_READY_OFF |
| const short | SUBSTATE_READY_ON = fcf::devmgr::lamp::SUBSTATE_READY_ON |
| const short | SUBSTATE_ERROR = fcf::devmgr::common::SUBSTATE_ERROR |
| const short | SUBSTATE_OP_DISABLING = fcf::devmgr::lamp::SUBSTATE_OP_DISABLING |
| const short | SUBSTATE_OP_OFF = fcf::devmgr::lamp::SUBSTATE_OP_OFF |
| const short | SUBSTATE_OP_SWITCHING_OFF = fcf::devmgr::lamp::SUBSTATE_OP_SWITCHING_OFF |
| const short | SUBSTATE_OP_COOLING = fcf::devmgr::lamp::SUBSTATE_OP_COOLING |
| const short | SUBSTATE_OP_ON = fcf::devmgr::lamp::SUBSTATE_OP_ON |
| const short | SUBSTATE_OP_SWITCHING_ON = fcf::devmgr::lamp::SUBSTATE_OP_SWITCHING_ON |
| const short | SUBSTATE_OP_WARMING = fcf::devmgr::lamp::SUBSTATE_OP_WARMING |
| const short | SUBSTATE_OP_ERROR = fcf::devmgr::common::SUBSTATE_OP_ERROR |
| void testLampLcsIf::ExpectHelper | ( | MockDbAdapter & | mock, |
| MockIConfig & | config | ||
| ) |
| void testLampLcsIf::ExpectHelperNo | ( | MockDbAdapter & | mock | ) |
| void testLampLcsIf::ExpectReadHelper | ( | std::shared_ptr< MockIComm > | comm_if, |
| std::shared_ptr< testLampLcsIf::TestLampConfig > & | dev_cfg, | ||
| int | state, | ||
| int | substate | ||
| ) |
| testLampLcsIf::TEST_F | ( | TestLampLcsIf | , |
| Ctor | |||
| ) |
| testLampLcsIf::TEST_F | ( | TestLampLcsIf | , |
| Config | |||
| ) |
| testLampLcsIf::TEST_F | ( | TestLampLcsIf | , |
| Connect | |||
| ) |
| testLampLcsIf::TEST_F | ( | TestLampLcsIf | , |
| SwitchOn | |||
| ) |
| testLampLcsIf::TEST_F | ( | TestLampLcsIf | , |
| SwitchOff | |||
| ) |
| testLampLcsIf::TEST_F | ( | TestLampLcsIf | , |
| IsReady | |||
| ) |
| testLampLcsIf::TEST_F | ( | TestLampLcsIf | , |
| IsOperational | |||
| ) |
| testLampLcsIf::TEST_F | ( | TestLampLcsIf | , |
| IsTurningOn | |||
| ) |
| testLampLcsIf::TEST_F | ( | TestLampLcsIf | , |
| IsTurningOff | |||
| ) |
| testLampLcsIf::TEST_F | ( | TestLampLcsIf | , |
| IsOn | |||
| ) |
| testLampLcsIf::TEST_F | ( | TestLampLcsIf | , |
| IsOff | |||
| ) |
| testLampLcsIf::TEST_F | ( | TestLampLcsIf | , |
| IsHwFailure | |||
| ) |
| testLampLcsIf::TEST_F | ( | TestLampLcsIf | , |
| ReadStatus | |||
| ) |
| std::string const testLampLcsIf::CONFIG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/config.yml" |
| std::string const testLampLcsIf::LAMP_BAD1_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testBadLamp1.yml" |
| std::string const testLampLcsIf::LAMP_BAD2_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testBadLamp2.yml" |
| std::string const testLampLcsIf::LAMP_BAD3_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testBadLamp3.yml" |
| std::string const testLampLcsIf::LAMP_BADMAP1_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testBadMapLamp1.yml" |
| std::string const testLampLcsIf::LAMP_BADMAP2_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testBadMapLamp2.yml" |
| std::string const testLampLcsIf::LAMP_BADMAP3_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testBadMapLamp3.yml" |
| std::string const testLampLcsIf::LAMP_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testLamp.yml" |
| std::string const testLampLcsIf::LAMP_MAP_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testMapLamp.yml" |
| const short testLampLcsIf::STATE_NOT_OPERATIONAL = fcf::devmgr::common::STATE_NOT_OPERATIONAL |
| const short testLampLcsIf::STATE_OPERATIONAL = fcf::devmgr::common::STATE_OPERATIONAL |
| const short testLampLcsIf::SUBSTATE_ERROR = fcf::devmgr::common::SUBSTATE_ERROR |
| const short testLampLcsIf::SUBSTATE_INITIALISING = fcf::devmgr::common::SUBSTATE_INITIALISING |
| const short testLampLcsIf::SUBSTATE_NOTREADY = fcf::devmgr::common::SUBSTATE_NOTREADY |
| const short testLampLcsIf::SUBSTATE_OP_COOLING = fcf::devmgr::lamp::SUBSTATE_OP_COOLING |
| const short testLampLcsIf::SUBSTATE_OP_DISABLING = fcf::devmgr::lamp::SUBSTATE_OP_DISABLING |
| const short testLampLcsIf::SUBSTATE_OP_ERROR = fcf::devmgr::common::SUBSTATE_OP_ERROR |
| const short testLampLcsIf::SUBSTATE_OP_OFF = fcf::devmgr::lamp::SUBSTATE_OP_OFF |
| const short testLampLcsIf::SUBSTATE_OP_ON = fcf::devmgr::lamp::SUBSTATE_OP_ON |
| const short testLampLcsIf::SUBSTATE_OP_SWITCHING_OFF = fcf::devmgr::lamp::SUBSTATE_OP_SWITCHING_OFF |
| const short testLampLcsIf::SUBSTATE_OP_SWITCHING_ON = fcf::devmgr::lamp::SUBSTATE_OP_SWITCHING_ON |
| const short testLampLcsIf::SUBSTATE_OP_WARMING = fcf::devmgr::lamp::SUBSTATE_OP_WARMING |
| const short testLampLcsIf::SUBSTATE_READY_OFF = fcf::devmgr::lamp::SUBSTATE_READY_OFF |
| const short testLampLcsIf::SUBSTATE_READY_ON = fcf::devmgr::lamp::SUBSTATE_READY_ON |
1.8.5