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

Classes

class  MyDeviceConfig
 Dummy Test PiezoConfig class used for testing purposes. More...
 
class  MyPiezo
 Dummy Test piezo class used for testing purposes. More...
 
class  TestPiezo
 

Functions

void ExpectHelperNo (MockDbAdapter &mock)
 ExpectHelperNo. More...
 
void ExpectRead (std::shared_ptr< MockIComm > comm_if, std::shared_ptr< testPiezo::MyDeviceConfig > &dev_cfg, fcf::devmgr::piezo::PiezoControllerData &data, int repetitions)
 
 TEST_F (TestPiezo, Ctor)
 Test the Piezo device class constructor. More...
 
 TEST_F (TestPiezo, Connect)
 Test the connection to the LCS. More...
 
 TEST_F (TestPiezo, Init)
 Test the Initialisation of the device. More...
 
 TEST_F (TestPiezo, Ignore)
 Test the device ignore functionality. More...
 
 TEST_F (TestPiezo, Simulate)
 Test the device simulation functionality. More...
 
 TEST_F (TestPiezo, Setup)
 Test Piezo Setup method. More...
 
 TEST_F (TestPiezo, Status)
 Test the device Status method. More...
 
 TEST_F (TestPiezo, EndAcq)
 Test the end of an acquisition. More...
 
 TEST_F (TestPiezo, 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 PIEZO_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testPiezo.yml"
 
std::string const PIEZO_MAP_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testMapPiezo.yml"
 

Function Documentation

void testPiezo::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 testPiezo::ExpectRead ( std::shared_ptr< MockIComm comm_if,
std::shared_ptr< testPiezo::MyDeviceConfig > &  dev_cfg,
fcf::devmgr::piezo::PiezoControllerData data,
int  repetitions 
)
testPiezo::TEST_F ( TestPiezo  ,
Ctor   
)

Test the Piezo device class constructor.

testPiezo::TEST_F ( TestPiezo  ,
Connect   
)

Test the connection to the LCS.

testPiezo::TEST_F ( TestPiezo  ,
Init   
)

Test the Initialisation of the device.

testPiezo::TEST_F ( TestPiezo  ,
Ignore   
)

Test the device ignore functionality.

testPiezo::TEST_F ( TestPiezo  ,
Simulate   
)

Test the device simulation functionality.

testPiezo::TEST_F ( TestPiezo  ,
Setup   
)

Test Piezo Setup method.

testPiezo::TEST_F ( TestPiezo  ,
Status   
)

Test the device Status method.

testPiezo::TEST_F ( TestPiezo  ,
EndAcq   
)

Test the end of an acquisition.

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

testPiezo::TEST_F ( TestPiezo  ,
Local   
)

Test the device local signal.

Variable Documentation

std::string const testPiezo::CONFIG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/config.yml"
std::string const testPiezo::PIEZO_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testPiezo.yml"
std::string const testPiezo::PIEZO_MAP_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testMapPiezo.yml"