|
ifw-fcf
2.0.0
|
Classes | |
| class | MyDeviceConfig |
| Test AdcConfig class used for testing purposes. More... | |
| class | MyAdc |
| Test adc class used for testing purposes. More... | |
| class | TestAdc |
Functions | |
| void | ExpectHelper (MockDbAdapter &mock, MockIConfig &config) |
| ExpectHelper. More... | |
| void | ExpectHelperNo (MockDbAdapter &mock) |
| void | ExpectRead (std::shared_ptr< MockIComm > comm_if, std::shared_ptr< testAdc::MyDeviceConfig > &dev_cfg, fcf::devmgr::adc::AdcControllerData &data, int repetitions) |
| TEST_F (TestAdc, Ctor) | |
| Test the Adc device class constructor. More... | |
| TEST_F (TestAdc, Connect) | |
| Test the connection to the LCS. More... | |
| TEST_F (TestAdc, Init) | |
| Test the Initialisation of the device. More... | |
| TEST_F (TestAdc, Ignore) | |
| Test the device ignore functionality. More... | |
| TEST_F (TestAdc, Simulate) | |
| Test the device simulation functionality. More... | |
| TEST_F (TestAdc, Setup) | |
| Test Shutter Setup method. More... | |
| TEST_F (TestAdc, Status) | |
| Test the device Status method. More... | |
| TEST_F (TestAdc, EndAcq) | |
| Test the end of an acquisition. More... | |
Variables | |
| std::string const | CONFIG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/config.yml" |
| std::string const | ADC_CFG = std::string(WAF_MODULE_PATH) + "/test/res/adc1.yml" |
| std::string const | ADC_MAP_CFG = std::string(WAF_MODULE_PATH) + "/test/res/mapAdc.yml" |
| void testAdc::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 testAdc::ExpectHelperNo | ( | MockDbAdapter & | mock | ) |
| void testAdc::ExpectRead | ( | std::shared_ptr< MockIComm > | comm_if, |
| std::shared_ptr< testAdc::MyDeviceConfig > & | dev_cfg, | ||
| fcf::devmgr::adc::AdcControllerData & | data, | ||
| int | repetitions | ||
| ) |
| testAdc::TEST_F | ( | TestAdc | , |
| Ctor | |||
| ) |
Test the Adc device class constructor.
| testAdc::TEST_F | ( | TestAdc | , |
| Connect | |||
| ) |
Test the connection to the LCS.
| testAdc::TEST_F | ( | TestAdc | , |
| Init | |||
| ) |
Test the Initialisation of the device.
| testAdc::TEST_F | ( | TestAdc | , |
| Ignore | |||
| ) |
Test the device ignore functionality.
| testAdc::TEST_F | ( | TestAdc | , |
| Simulate | |||
| ) |
Test the device simulation functionality.
| testAdc::TEST_F | ( | TestAdc | , |
| Setup | |||
| ) |
Test Shutter Setup method.
| testAdc::TEST_F | ( | TestAdc | , |
| Status | |||
| ) |
Test the device Status method.
| testAdc::TEST_F | ( | TestAdc | , |
| EndAcq | |||
| ) |
Test the end of an acquisition.
This test will validate the creation of a FITS file containing the FCF metadata.
| std::string const testAdc::ADC_CFG = std::string(WAF_MODULE_PATH) + "/test/res/adc1.yml" |
| std::string const testAdc::ADC_MAP_CFG = std::string(WAF_MODULE_PATH) + "/test/res/mapAdc.yml" |
| std::string const testAdc::CONFIG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/config.yml" |
1.8.5