ifw-fcf 8.0.2
 
Loading...
Searching...
No Matches
testLamp Namespace Reference

Classes

class  MyDeviceConfig
 
class  MyLamp
 
class  TestLamp
 

Functions

void ExpectRead (std::shared_ptr< MockICommAdapter > comm_if, std::shared_ptr< testLamp::MyDeviceConfig > &dev_cfg, ifw::fcf::devmgr::lamp::LampControllerData &, int)
 
void FeedStat (ifw::fnd::defs::SubscriptionHandler &handler, std::shared_ptr< testLamp::MyDeviceConfig > &dev_cfg, const std::string &stat_node, int value)
 
void FeedStatDouble (ifw::fnd::defs::SubscriptionHandler &handler, std::shared_ptr< testLamp::MyDeviceConfig > &dev_cfg, const std::string &stat_node, double value)
 
 TEST_F (TestLamp, Ctor)
 Test the device class constructor.
 
 TEST_F (TestLamp, Connect)
 Test the connection to the LCS.
 
 TEST_F (TestLamp, Init)
 Test the Initialisation of the device.
 
 TEST_F (TestLamp, Ignore)
 Test the device ignore functionality.
 
 TEST_F (TestLamp, Simulate)
 Test the device simulation functionality.
 
 TEST_F (TestLamp, Setup)
 
 TEST_F (TestLamp, Status)
 Test the device Status method.
 
 TEST_F (TestLamp, EndAcq)
 Test the end of an acquisition.
 
 TEST_F (TestLamp, Local)
 Test the device local signal.
 

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< MockICommAdapter > comm_if,
std::shared_ptr< testLamp::MyDeviceConfig > & dev_cfg,
ifw::fcf::devmgr::lamp::LampControllerData & ,
int  )

◆ FeedStat()

void testLamp::FeedStat ( ifw::fnd::defs::SubscriptionHandler & handler,
std::shared_ptr< testLamp::MyDeviceConfig > & dev_cfg,
const std::string & stat_node,
int value )

◆ FeedStatDouble()

void testLamp::FeedStatDouble ( ifw::fnd::defs::SubscriptionHandler & handler,
std::shared_ptr< testLamp::MyDeviceConfig > & dev_cfg,
const std::string & stat_node,
double value )

◆ 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")