ifw  0.0.1-dev
 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 expect_helper (MockDbAdapter &mock, MockIConfig &config)
 
void expect_helper_no (MockDbAdapter &mock)
 
 TEST_F (TestSensorLcsIf, Ctor)
 
void expect_read_helper (std::shared_ptr< MockIComm > comm_if, std::shared_ptr< testSensorLcsIf::TestSensorConfig > &dev_cfg, short state, short 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::expect_helper ( MockDbAdapter mock,
MockIConfig config 
)
void testSensorLcsIf::expect_helper_no ( MockDbAdapter mock)
void testSensorLcsIf::expect_read_helper ( std::shared_ptr< MockIComm comm_if,
std::shared_ptr< testSensorLcsIf::TestSensorConfig > &  dev_cfg,
short  state,
short  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"