ifw-fcf  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions | Variables
testActuator Namespace Reference

Classes

class  MyDeviceConfig
 Dummy Test ActuatorConfig class used for testing purposes. More...
 
class  MyActuator
 Dummy Test actuator class used for testing purposes. More...
 
class  TestActuator
 

Functions

void ExpectHelperNo (MockDbAdapter &mock)
 ExpectHelperNo. More...
 
void ExpectRead (std::shared_ptr< MockIComm > comm_if, std::shared_ptr< testActuator::MyDeviceConfig > &dev_cfg, fcf::devmgr::actuator::ActuatorControllerData &data, int repetitions)
 
 TEST_F (TestActuator, Ctor)
 Test the Actuator device class constructor. More...
 
 TEST_F (TestActuator, Connect)
 Test the connection to the LCS. More...
 
 TEST_F (TestActuator, Init)
 Test the Initialisation of the device. More...
 
 TEST_F (TestActuator, Ignore)
 Test the device ignore functionality. More...
 
 TEST_F (TestActuator, Simulate)
 Test the device simulation functionality. More...
 
 TEST_F (TestActuator, Setup)
 Test Actuator Setup method. More...
 
 TEST_F (TestActuator, Status)
 Test the device Status method. More...
 
 TEST_F (TestActuator, EndAcq)
 Test the end of an acquisition. More...
 
 TEST_F (TestActuator, 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 ACTUATOR_CFG = std::string(WAF_MODULE_PATH) + "/test/res/actuator1.yml"
 
std::string const ACTUATOR_MAP_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testMapActuator.yml"
 

Function Documentation

void testActuator::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 testActuator::ExpectRead ( std::shared_ptr< MockIComm comm_if,
std::shared_ptr< testActuator::MyDeviceConfig > &  dev_cfg,
fcf::devmgr::actuator::ActuatorControllerData data,
int  repetitions 
)
testActuator::TEST_F ( TestActuator  ,
Ctor   
)

Test the Actuator device class constructor.

testActuator::TEST_F ( TestActuator  ,
Connect   
)

Test the connection to the LCS.

testActuator::TEST_F ( TestActuator  ,
Init   
)

Test the Initialisation of the device.

testActuator::TEST_F ( TestActuator  ,
Ignore   
)

Test the device ignore functionality.

testActuator::TEST_F ( TestActuator  ,
Simulate   
)

Test the device simulation functionality.

testActuator::TEST_F ( TestActuator  ,
Setup   
)

Test Actuator Setup method.

testActuator::TEST_F ( TestActuator  ,
Status   
)

Test the device Status method.

testActuator::TEST_F ( TestActuator  ,
EndAcq   
)

Test the end of an acquisition.

This test will validate the creation of a FITS file containing the FCF metadata.

testActuator::TEST_F ( TestActuator  ,
Local   
)

Test the device local signal.

Variable Documentation

std::string const testActuator::ACTUATOR_CFG = std::string(WAF_MODULE_PATH) + "/test/res/actuator1.yml"
std::string const testActuator::ACTUATOR_MAP_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testMapActuator.yml"
std::string const testActuator::CONFIG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/config.yml"