ifw-fcf
2.0.0
|
Classes | |
class | MyDeviceConfig |
Dummy Test ShutterConfig class used for testing purposes. More... | |
class | MyShutter |
Dummy Test shutter class used for testing purposes. More... | |
class | TestShutter |
Functions | |
void | ExpectHelperNo (MockDbAdapter &mock) |
ExpectHelperNo. More... | |
void | ExpectRead (std::shared_ptr< MockIComm > comm_if, std::shared_ptr< testShutter::MyDeviceConfig > &dev_cfg, fcf::devmgr::shutter::ShutterControllerData &data, int repetitions) |
TEST_F (TestShutter, Ctor) | |
Test the Shutter device class constructor. More... | |
TEST_F (TestShutter, Connect) | |
Test the connection to the LCS. More... | |
TEST_F (TestShutter, Init) | |
Test the Initialisation of the device. More... | |
TEST_F (TestShutter, Ignore) | |
Test the device ignore functionality. More... | |
TEST_F (TestShutter, Simulate) | |
Test the device simulation functionality. More... | |
TEST_F (TestShutter, Setup) | |
Test Shutter Setup method. More... | |
TEST_F (TestShutter, Status) | |
Test the device Status method. More... | |
TEST_F (TestShutter, EndAcq) | |
Test the end of an acquisition. More... | |
TEST_F (TestShutter, 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 | SHUTTER_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testShutter.yml" |
std::string const | SHUTTER_MAP_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testMapShutter.yml" |
void testShutter::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 testShutter::ExpectRead | ( | std::shared_ptr< MockIComm > | comm_if, |
std::shared_ptr< testShutter::MyDeviceConfig > & | dev_cfg, | ||
fcf::devmgr::shutter::ShutterControllerData & | data, | ||
int | repetitions | ||
) |
testShutter::TEST_F | ( | TestShutter | , |
Ctor | |||
) |
Test the Shutter device class constructor.
testShutter::TEST_F | ( | TestShutter | , |
Connect | |||
) |
Test the connection to the LCS.
testShutter::TEST_F | ( | TestShutter | , |
Init | |||
) |
Test the Initialisation of the device.
testShutter::TEST_F | ( | TestShutter | , |
Ignore | |||
) |
Test the device ignore functionality.
testShutter::TEST_F | ( | TestShutter | , |
Simulate | |||
) |
Test the device simulation functionality.
testShutter::TEST_F | ( | TestShutter | , |
Setup | |||
) |
Test Shutter Setup method.
testShutter::TEST_F | ( | TestShutter | , |
Status | |||
) |
Test the device Status method.
testShutter::TEST_F | ( | TestShutter | , |
EndAcq | |||
) |
Test the end of an acquisition.
This test will validate the creation of a FITS file containing the FCF metadata.
testShutter::TEST_F | ( | TestShutter | , |
Local | |||
) |
Test the device local signal.
std::string const testShutter::CONFIG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/config.yml" |
std::string const testShutter::SHUTTER_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testShutter.yml" |
std::string const testShutter::SHUTTER_MAP_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testMapShutter.yml" |