|
ifw
0.0.1-dev
|
Classes | |
| class | MyDeviceConfig |
| class | MyLamp |
| class | TestLamp |
Functions | |
| void | expect_helper (MockDbAdapter &mock, MockIConfig &config) |
| expect_helper More... | |
| void | expect_helper_no (MockDbAdapter &mock) |
| void | expect_read (std::shared_ptr< MockIComm > comm_if, std::shared_ptr< testLamp::MyDeviceConfig > &dev_cfg, devmgr::lamp::LampControllerData &data, int repetitions) |
| TEST_F (TestLamp, Ctor) | |
| Test Lamp constructor. More... | |
| TEST_F (TestLamp, Connect) | |
| TEST_F (TestLamp, Init) | |
| TEST_F (TestLamp, Ignore) | |
| TEST_F (TestLamp, Simulate) | |
| TEST_F (TestLamp, Setup) | |
| Test Lamp Setup method. More... | |
| TEST_F (TestLamp, Status) | |
| TEST_F (TestLamp, EndAcq) | |
| TEST_F (TestLamp, Local) | |
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" |
| void testLamp::expect_helper | ( | MockDbAdapter & | mock, |
| MockIConfig & | config | ||
| ) |
expect_helper
| mock | Mock for DbAdapter class |
| config | Mock for Configuration class |
This functions encapsulate the all the calls expected for the mock classes used in the test functions in this file.
| void testLamp::expect_helper_no | ( | MockDbAdapter & | mock | ) |
| void testLamp::expect_read | ( | std::shared_ptr< MockIComm > | comm_if, |
| std::shared_ptr< testLamp::MyDeviceConfig > & | dev_cfg, | ||
| devmgr::lamp::LampControllerData & | data, | ||
| int | repetitions | ||
| ) |
| testLamp::TEST_F | ( | TestLamp | , |
| Connect | |||
| ) |
| testLamp::TEST_F | ( | TestLamp | , |
| Init | |||
| ) |
| testLamp::TEST_F | ( | TestLamp | , |
| Ignore | |||
| ) |
| testLamp::TEST_F | ( | TestLamp | , |
| Simulate | |||
| ) |
| testLamp::TEST_F | ( | TestLamp | , |
| Status | |||
| ) |
| testLamp::TEST_F | ( | TestLamp | , |
| EndAcq | |||
| ) |
| testLamp::TEST_F | ( | TestLamp | , |
| Local | |||
| ) |
| std::string const testLamp::CONFIG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/config.yml" |
| std::string const testLamp::LAMP_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testLamp.yml" |
| std::string const testLamp::LAMP_MAP_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testMapLamp.yml" |
1.8.5