ifw-fcf
2.0.0
|
Classes | |
class | MyDeviceConfig |
class | MyLamp |
class | TestLamp |
Functions | |
void | ExpectHelperNo (MockDbAdapter &mock) |
ExpectHelperNo. More... | |
void | ExpectRead (std::shared_ptr< MockIComm > comm_if, std::shared_ptr< testLamp::MyDeviceConfig > &dev_cfg, fcf::devmgr::lamp::LampControllerData &data, int repetitions) |
TEST_F (TestLamp, Ctor) | |
Test the device class constructor. More... | |
TEST_F (TestLamp, Connect) | |
Test the connection to the LCS. More... | |
TEST_F (TestLamp, Init) | |
Test the Initialisation of the device. More... | |
TEST_F (TestLamp, Ignore) | |
Test the device ignore functionality. More... | |
TEST_F (TestLamp, Simulate) | |
Test the device simulation functionality. More... | |
TEST_F (TestLamp, Setup) | |
TEST_F (TestLamp, Status) | |
Test the device Status method. More... | |
TEST_F (TestLamp, EndAcq) | |
Test the end of an acquisition. More... | |
TEST_F (TestLamp, Local) | |
Test the device local signal. More... | |
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::ExpectHelperNo | ( | MockDbAdapter & | mock | ) |
ExpectHelperNo.
This functions encapsulate the all the calls expected for the mock classes used in the test functions in this file.
void testLamp::ExpectRead | ( | std::shared_ptr< MockIComm > | comm_if, |
std::shared_ptr< testLamp::MyDeviceConfig > & | dev_cfg, | ||
fcf::devmgr::lamp::LampControllerData & | data, | ||
int | repetitions | ||
) |
testLamp::TEST_F | ( | TestLamp | , |
Ctor | |||
) |
Test the device class constructor.
Test Lamp Setup method.
testLamp::TEST_F | ( | TestLamp | , |
Connect | |||
) |
Test the connection to the LCS.
testLamp::TEST_F | ( | TestLamp | , |
Init | |||
) |
Test the Initialisation of the device.
testLamp::TEST_F | ( | TestLamp | , |
Ignore | |||
) |
Test the device ignore functionality.
testLamp::TEST_F | ( | TestLamp | , |
Simulate | |||
) |
Test the device simulation functionality.
testLamp::TEST_F | ( | TestLamp | , |
Setup | |||
) |
testLamp::TEST_F | ( | TestLamp | , |
Status | |||
) |
Test the device Status method.
testLamp::TEST_F | ( | TestLamp | , |
EndAcq | |||
) |
Test the end of an acquisition.
This test will validate the creation of a FITS file containing the FCF metadata.
testLamp::TEST_F | ( | TestLamp | , |
Local | |||
) |
Test the device local signal.
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" |