ifw-fcf  3.0.0
Classes | Functions | Variables
testSensorLcsIf Namespace Reference

Classes

class  TestSensorConfig
 The TestSensorConfig class. More...
 
class  TestSensorLcsIf
 

Functions

void ExpectHelper (MockDbAdapter &mock, MockIConfig &config)
 
void ExpectHelperNo (MockDbAdapter &mock)
 
 TEST_F (TestSensorLcsIf, Ctor)
 
void ExpectReadHelper (std::shared_ptr< MockIComm > comm_if, std::shared_ptr< testSensorLcsIf::TestSensorConfig > &dev_cfg, int state, int substate)
 
 TEST_F (TestSensorLcsIf, Config)
 
 TEST_F (TestSensorLcsIf, Connect)
 
 TEST_F (TestSensorLcsIf, IsReady)
 
 TEST_F (TestSensorLcsIf, IsOperational)
 
 TEST_F (TestSensorLcsIf, IsHwFailure)
 
 TEST_F (TestSensorLcsIf, ReadStatus)
 

Variables

std::string const CONFIG_CFG
 
std::string const SENSOR_CFG
 
std::string const SENSOR_MAP_CFG
 
std::string const SENSOR_BAD1_CFG
 
std::string const SENSOR_BAD2_CFG
 
std::string const SENSOR_BAD3_CFG
 
std::string const SENSOR_BADMAP1_CFG
 
std::string const SENSOR_BADMAP2_CFG
 
std::string const SENSOR_BADMAP3_CFG
 

Function Documentation

◆ ExpectHelper()

void testSensorLcsIf::ExpectHelper ( MockDbAdapter mock,
MockIConfig config 
)

◆ ExpectHelperNo()

void testSensorLcsIf::ExpectHelperNo ( MockDbAdapter mock)

◆ ExpectReadHelper()

void testSensorLcsIf::ExpectReadHelper ( std::shared_ptr< MockIComm comm_if,
std::shared_ptr< testSensorLcsIf::TestSensorConfig > &  dev_cfg,
int  state,
int  substate 
)

◆ TEST_F() [1/7]

testSensorLcsIf::TEST_F ( TestSensorLcsIf  ,
Config   
)

◆ TEST_F() [2/7]

testSensorLcsIf::TEST_F ( TestSensorLcsIf  ,
Connect   
)

◆ TEST_F() [3/7]

testSensorLcsIf::TEST_F ( TestSensorLcsIf  ,
Ctor   
)

◆ TEST_F() [4/7]

testSensorLcsIf::TEST_F ( TestSensorLcsIf  ,
IsHwFailure   
)

◆ TEST_F() [5/7]

testSensorLcsIf::TEST_F ( TestSensorLcsIf  ,
IsOperational   
)

◆ TEST_F() [6/7]

testSensorLcsIf::TEST_F ( TestSensorLcsIf  ,
IsReady   
)

◆ TEST_F() [7/7]

testSensorLcsIf::TEST_F ( TestSensorLcsIf  ,
ReadStatus   
)

Variable Documentation

◆ CONFIG_CFG

std::string const testSensorLcsIf::CONFIG_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/config.yml"

◆ SENSOR_BAD1_CFG

std::string const testSensorLcsIf::SENSOR_BAD1_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/testBadSensor1.yml"

◆ SENSOR_BAD2_CFG

std::string const testSensorLcsIf::SENSOR_BAD2_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/testBadSensor2.yml"

◆ SENSOR_BAD3_CFG

std::string const testSensorLcsIf::SENSOR_BAD3_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/testBadSensor3.yml"

◆ SENSOR_BADMAP1_CFG

std::string const testSensorLcsIf::SENSOR_BADMAP1_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/testBadMapSensor1.yml"

◆ SENSOR_BADMAP2_CFG

std::string const testSensorLcsIf::SENSOR_BADMAP2_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/testBadMapSensor2.yml"

◆ SENSOR_BADMAP3_CFG

std::string const testSensorLcsIf::SENSOR_BADMAP3_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/testBadMapSensor3.yml"

◆ SENSOR_CFG

std::string const testSensorLcsIf::SENSOR_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/testSensor.yml"

◆ SENSOR_MAP_CFG

std::string const testSensorLcsIf::SENSOR_MAP_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/testMapSensor.yml"