ifw-fcf  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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

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

Variable Documentation

std::string const testSensorLcsIf::CONFIG_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/config.yml"
std::string const testSensorLcsIf::SENSOR_BAD1_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/testBadSensor1.yml"
std::string const testSensorLcsIf::SENSOR_BAD2_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/testBadSensor2.yml"
std::string const testSensorLcsIf::SENSOR_BAD3_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/testBadSensor3.yml"
std::string const testSensorLcsIf::SENSOR_BADMAP1_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/testBadMapSensor1.yml"
std::string const testSensorLcsIf::SENSOR_BADMAP2_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/testBadMapSensor2.yml"
std::string const testSensorLcsIf::SENSOR_BADMAP3_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/testBadMapSensor3.yml"
std::string const testSensorLcsIf::SENSOR_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/testSensor.yml"
std::string const testSensorLcsIf::SENSOR_MAP_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/testMapSensor.yml"