ifw-fcf  5.0.0-pre2
Classes | Functions | Variables
testLamp Namespace Reference

Classes

class  MyDeviceConfig
 
class  MyLamp
 
class  TestLamp
 

Functions

void ExpectRead (std::shared_ptr< MockIComm > comm_if, std::shared_ptr< testLamp::MyDeviceConfig > &dev_cfg, fcf::devmgr::lamp::LampControllerData &data, int repetitions)
 
 TEST_F (TestLamp, Ctor)
 Test the device class constructor. More...
 
 TEST_F (TestLamp, Connect)
 Test the connection to the LCS. More...
 
 TEST_F (TestLamp, Init)
 Test the Initialisation of the device. More...
 
 TEST_F (TestLamp, Ignore)
 Test the device ignore functionality. More...
 
 TEST_F (TestLamp, Simulate)
 Test the device simulation functionality. More...
 
 TEST_F (TestLamp, Setup)
 
 TEST_F (TestLamp, Status)
 Test the device Status method. More...
 
 TEST_F (TestLamp, EndAcq)
 Test the end of an acquisition. More...
 
 TEST_F (TestLamp, Local)
 Test the device local signal. More...
 

Variables

std::string const CONFIG_CFG = std::string("config/config.yaml")
 
std::string const LAMP_CFG = std::string("config/testLamp.yaml")
 
std::string const LAMP_MAP_CFG = std::string("config/testMapLamp.yaml")
 

Function Documentation

◆ ExpectRead()

void testLamp::ExpectRead ( std::shared_ptr< MockIComm comm_if,
std::shared_ptr< testLamp::MyDeviceConfig > &  dev_cfg,
fcf::devmgr::lamp::LampControllerData data,
int  repetitions 
)

◆ TEST_F() [1/9]

testLamp::TEST_F ( TestLamp  ,
Connect   
)

Test the connection to the LCS.

◆ TEST_F() [2/9]

testLamp::TEST_F ( TestLamp  ,
Ctor   
)

Test the device class constructor.

Test Lamp Setup method.

◆ TEST_F() [3/9]

testLamp::TEST_F ( TestLamp  ,
EndAcq   
)

Test the end of an acquisition.

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

◆ TEST_F() [4/9]

testLamp::TEST_F ( TestLamp  ,
Ignore   
)

Test the device ignore functionality.

◆ TEST_F() [5/9]

testLamp::TEST_F ( TestLamp  ,
Init   
)

Test the Initialisation of the device.

◆ TEST_F() [6/9]

testLamp::TEST_F ( TestLamp  ,
Local   
)

Test the device local signal.

◆ TEST_F() [7/9]

testLamp::TEST_F ( TestLamp  ,
Setup   
)

◆ TEST_F() [8/9]

testLamp::TEST_F ( TestLamp  ,
Simulate   
)

Test the device simulation functionality.

◆ TEST_F() [9/9]

testLamp::TEST_F ( TestLamp  ,
Status   
)

Test the device Status method.

Variable Documentation

◆ CONFIG_CFG

std::string const testLamp::CONFIG_CFG = std::string("config/config.yaml")

◆ LAMP_CFG

std::string const testLamp::LAMP_CFG = std::string("config/testLamp.yaml")

◆ LAMP_MAP_CFG

std::string const testLamp::LAMP_MAP_CFG = std::string("config/testMapLamp.yaml")