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

Classes

class  TestAdcConfig
 The TestAdcConfig class. More...
 
class  TestAdcLcsIf
 

Functions

void ExpectHelper (MockDbAdapter &mock, MockIConfig &config)
 
void ExpectHelperNo (MockDbAdapter &mock)
 
 TEST_F (TestAdcLcsIf, Ctor)
 Test the device class constructor. More...
 
void ExpectReadHelper (std::shared_ptr< MockIComm > comm_if, std::shared_ptr< testAdcLcsIf::TestAdcConfig > &dev_cfg, fcf::devmgr::adc::AdcControllerData &data)
 
 TEST_F (TestAdcLcsIf, Connect)
 Test the connection to the LCS. More...
 
 TEST_F (TestAdcLcsIf, MoveAbs)
 
 TEST_F (TestAdcLcsIf, MoveAngle)
 
 TEST_F (TestAdcLcsIf, IsReady)
 
 TEST_F (TestAdcLcsIf, IsOperational)
 
 TEST_F (TestAdcLcsIf, IsMoving)
 
 TEST_F (TestAdcLcsIf, IsHwFailure)
 
 TEST_F (TestAdcLcsIf, ReadStatus)
 
 TEST_F (TestAdcLcsIf, Listener)
 

Variables

std::string const CONFIG_CFG
 
std::string const ADC_CFG
 
std::string const ADC_MAP_CFG
 
std::string const ADC_BADMAP1_CFG
 
std::string const ADC_BADMAP2_CFG
 
std::string const ADC_BADMAP3_CFG
 

Function Documentation

void testAdcLcsIf::ExpectHelper ( MockDbAdapter mock,
MockIConfig config 
)
void testAdcLcsIf::ExpectHelperNo ( MockDbAdapter mock)
void testAdcLcsIf::ExpectReadHelper ( std::shared_ptr< MockIComm comm_if,
std::shared_ptr< testAdcLcsIf::TestAdcConfig > &  dev_cfg,
fcf::devmgr::adc::AdcControllerData data 
)
testAdcLcsIf::TEST_F ( TestAdcLcsIf  ,
Ctor   
)

Test the device class constructor.

testAdcLcsIf::TEST_F ( TestAdcLcsIf  ,
Connect   
)

Test the connection to the LCS.

testAdcLcsIf::TEST_F ( TestAdcLcsIf  ,
MoveAbs   
)
testAdcLcsIf::TEST_F ( TestAdcLcsIf  ,
MoveAngle   
)
testAdcLcsIf::TEST_F ( TestAdcLcsIf  ,
IsReady   
)
testAdcLcsIf::TEST_F ( TestAdcLcsIf  ,
IsOperational   
)
testAdcLcsIf::TEST_F ( TestAdcLcsIf  ,
IsMoving   
)
testAdcLcsIf::TEST_F ( TestAdcLcsIf  ,
IsHwFailure   
)
testAdcLcsIf::TEST_F ( TestAdcLcsIf  ,
ReadStatus   
)
testAdcLcsIf::TEST_F ( TestAdcLcsIf  ,
Listener   
)

Variable Documentation

std::string const testAdcLcsIf::ADC_BADMAP1_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/testBadMapAdc1.yml"
std::string const testAdcLcsIf::ADC_BADMAP2_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/testBadMapAdc2.yml"
std::string const testAdcLcsIf::ADC_BADMAP3_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/testBadMapAdc3.yml"
std::string const testAdcLcsIf::ADC_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/adc1.yml"
std::string const testAdcLcsIf::ADC_MAP_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/mapAdc.yml"
std::string const testAdcLcsIf::CONFIG_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/config.yml"