ifw-fcf 7.1.4
Loading...
Searching...
No Matches
Classes | Functions | Variables
testMotor Namespace Reference

Classes

class  MyDeviceConfig
 Test MotorConfig class used for testing purposes. More...
 
class  MyMotor
 Test motor class used for testing purposes. More...
 
class  TestMotor
 

Functions

void ExpectRead (std::shared_ptr< MockIComm > comm_if, std::shared_ptr< testMotor::MyDeviceConfig > &dev_cfg, ifw::fcf::devmgr::motor::MotorControllerData &data, int repetitions)
 
 TEST_F (TestMotor, Ctor)
 Test Motor constructor.
 
 TEST_F (TestMotor, Connect)
 Test the connection to the LCS.
 
 TEST_F (TestMotor, Init)
 Test the Initialisation of the device.
 
 TEST_F (TestMotor, Ignore)
 Test the device ignore functionality.
 
 TEST_F (TestMotor, Simulate)
 Test the device simulation functionality.
 
 TEST_F (TestMotor, Setup)
 Test Motor Setup method.
 
 TEST_F (TestMotor, Status)
 Test the device Status method.
 
 TEST_F (TestMotor, EndAcq)
 Test the end of an acquisition.
 
 TEST_F (TestMotor, Local)
 Test the device local signal.
 
 TEST_F (TestMotor, ErrorConditions)
 Test the device local signal.
 

Variables

std::string const CONFIG_CFG = std::string("config/config.yaml")
 
std::string const MOTOR_CFG = std::string("config/testMotor.yaml")
 
std::string const MOTOR_MAP_CFG = std::string("config/testMapMotor.yaml")
 

Function Documentation

◆ ExpectRead()

void testMotor::ExpectRead ( std::shared_ptr< MockIComm > comm_if,
std::shared_ptr< testMotor::MyDeviceConfig > & dev_cfg,
ifw::fcf::devmgr::motor::MotorControllerData & data,
int repetitions )

◆ TEST_F() [1/10]

testMotor::TEST_F ( TestMotor ,
Connect  )

Test the connection to the LCS.

◆ TEST_F() [2/10]

testMotor::TEST_F ( TestMotor ,
Ctor  )

Test Motor constructor.

◆ TEST_F() [3/10]

testMotor::TEST_F ( TestMotor ,
EndAcq  )

Test the end of an acquisition.

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

◆ TEST_F() [4/10]

testMotor::TEST_F ( TestMotor ,
ErrorConditions  )

Test the device local signal.

◆ TEST_F() [5/10]

testMotor::TEST_F ( TestMotor ,
Ignore  )

Test the device ignore functionality.

◆ TEST_F() [6/10]

testMotor::TEST_F ( TestMotor ,
Init  )

Test the Initialisation of the device.

◆ TEST_F() [7/10]

testMotor::TEST_F ( TestMotor ,
Local  )

Test the device local signal.

◆ TEST_F() [8/10]

testMotor::TEST_F ( TestMotor ,
Setup  )

Test Motor Setup method.

◆ TEST_F() [9/10]

testMotor::TEST_F ( TestMotor ,
Simulate  )

Test the device simulation functionality.

◆ TEST_F() [10/10]

testMotor::TEST_F ( TestMotor ,
Status  )

Test the device Status method.

Variable Documentation

◆ CONFIG_CFG

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

◆ MOTOR_CFG

std::string const testMotor::MOTOR_CFG = std::string("config/testMotor.yaml")

◆ MOTOR_MAP_CFG

std::string const testMotor::MOTOR_MAP_CFG = std::string("config/testMapMotor.yaml")