ifw-fcf
2.0.0
|
Classes | |
class | MyDeviceConfig |
Test DrotConfig class used for testing purposes. More... | |
class | MyDrot |
Test drot class used for testing purposes. More... | |
class | TestDrot |
Functions | |
void | ExpectHelper (MockDbAdapter &mock, MockIConfig &config) |
ExpectHelper. More... | |
void | ExpectHelperNo (MockDbAdapter &mock) |
void | ExpectRead (std::shared_ptr< MockIComm > comm_if, std::shared_ptr< testDrot::MyDeviceConfig > &dev_cfg, fcf::devmgr::drot::DrotControllerData &data, int repetitions) |
TEST_F (TestDrot, Ctor) | |
Test Drot constructor. More... | |
TEST_F (TestDrot, Connect) | |
Test the connection to the LCS. More... | |
TEST_F (TestDrot, Init) | |
Test the Initialisation of the device. More... | |
TEST_F (TestDrot, Ignore) | |
Test the device ignore functionality. More... | |
TEST_F (TestDrot, Simulate) | |
Test the device simulation functionality. More... | |
TEST_F (TestDrot, Setup) | |
Test Shutter Setup method. More... | |
TEST_F (TestDrot, Status) | |
Test the device Status method. More... | |
TEST_F (TestDrot, EndAcq) | |
Test the end of an acquisition. More... | |
TEST_F (TestDrot, 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 | DROT_CFG = std::string(WAF_MODULE_PATH) + "/test/res/drot1.yml" |
std::string const | DROT_MAP_CFG = std::string(WAF_MODULE_PATH) + "/test/res/mapDrot.yml" |
void testDrot::ExpectHelper | ( | MockDbAdapter & | mock, |
MockIConfig & | config | ||
) |
ExpectHelper.
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 testDrot::ExpectHelperNo | ( | MockDbAdapter & | mock | ) |
void testDrot::ExpectRead | ( | std::shared_ptr< MockIComm > | comm_if, |
std::shared_ptr< testDrot::MyDeviceConfig > & | dev_cfg, | ||
fcf::devmgr::drot::DrotControllerData & | data, | ||
int | repetitions | ||
) |
testDrot::TEST_F | ( | TestDrot | , |
Ctor | |||
) |
Test Drot constructor.
testDrot::TEST_F | ( | TestDrot | , |
Connect | |||
) |
Test the connection to the LCS.
testDrot::TEST_F | ( | TestDrot | , |
Init | |||
) |
Test the Initialisation of the device.
testDrot::TEST_F | ( | TestDrot | , |
Ignore | |||
) |
Test the device ignore functionality.
testDrot::TEST_F | ( | TestDrot | , |
Simulate | |||
) |
Test the device simulation functionality.
testDrot::TEST_F | ( | TestDrot | , |
Setup | |||
) |
Test Shutter Setup method.
testDrot::TEST_F | ( | TestDrot | , |
Status | |||
) |
Test the device Status method.
testDrot::TEST_F | ( | TestDrot | , |
EndAcq | |||
) |
Test the end of an acquisition.
This test will validate the creation of a FITS file containing the FCF metadata.
testDrot::TEST_F | ( | TestDrot | , |
Local | |||
) |
Test the device local signal.
std::string const testDrot::CONFIG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/config.yml" |
std::string const testDrot::DROT_CFG = std::string(WAF_MODULE_PATH) + "/test/res/drot1.yml" |
std::string const testDrot::DROT_MAP_CFG = std::string(WAF_MODULE_PATH) + "/test/res/mapDrot.yml" |