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

Classes

class  TestLampConfig
 The TestLampConfig class. More...
 
class  TestLampLcsIf
 

Functions

void ExpectReadHelper (std::shared_ptr< MockIComm > comm_if, std::shared_ptr< testLampLcsIf::TestLampConfig > &dev_cfg, int state, int substate)
 
 TEST_F (TestLampLcsIf, Ctor)
 
 TEST_F (TestLampLcsIf, Config)
 
 TEST_F (TestLampLcsIf, Connect)
 
 TEST_F (TestLampLcsIf, SwitchOn)
 
 TEST_F (TestLampLcsIf, SwitchOff)
 
 TEST_F (TestLampLcsIf, IsReady)
 
 TEST_F (TestLampLcsIf, IsOperational)
 
 TEST_F (TestLampLcsIf, IsTurningOn)
 
 TEST_F (TestLampLcsIf, IsTurningOff)
 
 TEST_F (TestLampLcsIf, IsOn)
 
 TEST_F (TestLampLcsIf, IsOff)
 
 TEST_F (TestLampLcsIf, IsHwFailure)
 
 TEST_F (TestLampLcsIf, ReadStatus)
 

Variables

std::string const CONFIG_CFG = std::string("config/config.yaml")
 
std::string const LAMP_CFG = std::string("config/testLamp.yaml")
 
std::string const LAMP_MAP_CFG = std::string("config/testMapLamp.yaml")
 
const short STATE_NOT_OPERATIONAL = ifw::fcf::devmgr::common::STATE_NOT_OPERATIONAL
 
const short STATE_OPERATIONAL = ifw::fcf::devmgr::common::STATE_OPERATIONAL
 
const short SUBSTATE_NOTREADY = ifw::fcf::devmgr::common::SUBSTATE_NOTREADY
 
const short SUBSTATE_INITIALISING = ifw::fcf::devmgr::common::SUBSTATE_INITIALISING
 
const short SUBSTATE_READY_OFF = ifw::fcf::devmgr::actuator::SUBSTATE_READY_OFF
 
const short SUBSTATE_READY_ON = ifw::fcf::devmgr::actuator::SUBSTATE_READY_ON
 
const short SUBSTATE_ERROR = ifw::fcf::devmgr::common::SUBSTATE_ERROR
 
const short SUBSTATE_OP_DISABLING = ifw::fcf::devmgr::common::SUBSTATE_OP_DISABLING
 
const short SUBSTATE_OP_OFF = ifw::fcf::devmgr::actuator::SUBSTATE_OP_OFF
 
const short SUBSTATE_OP_SWITCHING_OFF = ifw::fcf::devmgr::actuator::SUBSTATE_OP_SWITCHING_OFF
 
const short SUBSTATE_OP_COOLING = ifw::fcf::devmgr::lamp::SUBSTATE_OP_COOLING
 
const short SUBSTATE_OP_ON = ifw::fcf::devmgr::actuator::SUBSTATE_OP_ON
 
const short SUBSTATE_OP_SWITCHING_ON = ifw::fcf::devmgr::actuator::SUBSTATE_OP_SWITCHING_ON
 
const short SUBSTATE_OP_WARMING = ifw::fcf::devmgr::lamp::SUBSTATE_OP_WARMING
 
const short SUBSTATE_OP_ERROR = ifw::fcf::devmgr::common::SUBSTATE_OP_ERROR
 

Function Documentation

◆ ExpectReadHelper()

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

◆ TEST_F() [1/13]

testLampLcsIf::TEST_F ( TestLampLcsIf ,
Config  )

◆ TEST_F() [2/13]

testLampLcsIf::TEST_F ( TestLampLcsIf ,
Connect  )

◆ TEST_F() [3/13]

testLampLcsIf::TEST_F ( TestLampLcsIf ,
Ctor  )

◆ TEST_F() [4/13]

testLampLcsIf::TEST_F ( TestLampLcsIf ,
IsHwFailure  )

◆ TEST_F() [5/13]

testLampLcsIf::TEST_F ( TestLampLcsIf ,
IsOff  )

◆ TEST_F() [6/13]

testLampLcsIf::TEST_F ( TestLampLcsIf ,
IsOn  )

◆ TEST_F() [7/13]

testLampLcsIf::TEST_F ( TestLampLcsIf ,
IsOperational  )

◆ TEST_F() [8/13]

testLampLcsIf::TEST_F ( TestLampLcsIf ,
IsReady  )

◆ TEST_F() [9/13]

testLampLcsIf::TEST_F ( TestLampLcsIf ,
IsTurningOff  )

◆ TEST_F() [10/13]

testLampLcsIf::TEST_F ( TestLampLcsIf ,
IsTurningOn  )

◆ TEST_F() [11/13]

testLampLcsIf::TEST_F ( TestLampLcsIf ,
ReadStatus  )

◆ TEST_F() [12/13]

testLampLcsIf::TEST_F ( TestLampLcsIf ,
SwitchOff  )

◆ TEST_F() [13/13]

testLampLcsIf::TEST_F ( TestLampLcsIf ,
SwitchOn  )

Variable Documentation

◆ CONFIG_CFG

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

◆ LAMP_CFG

std::string const testLampLcsIf::LAMP_CFG = std::string("config/testLamp.yaml")

◆ LAMP_MAP_CFG

std::string const testLampLcsIf::LAMP_MAP_CFG = std::string("config/testMapLamp.yaml")

◆ STATE_NOT_OPERATIONAL

const short testLampLcsIf::STATE_NOT_OPERATIONAL = ifw::fcf::devmgr::common::STATE_NOT_OPERATIONAL

◆ STATE_OPERATIONAL

const short testLampLcsIf::STATE_OPERATIONAL = ifw::fcf::devmgr::common::STATE_OPERATIONAL

◆ SUBSTATE_ERROR

const short testLampLcsIf::SUBSTATE_ERROR = ifw::fcf::devmgr::common::SUBSTATE_ERROR

◆ SUBSTATE_INITIALISING

const short testLampLcsIf::SUBSTATE_INITIALISING = ifw::fcf::devmgr::common::SUBSTATE_INITIALISING

◆ SUBSTATE_NOTREADY

const short testLampLcsIf::SUBSTATE_NOTREADY = ifw::fcf::devmgr::common::SUBSTATE_NOTREADY

◆ SUBSTATE_OP_COOLING

const short testLampLcsIf::SUBSTATE_OP_COOLING = ifw::fcf::devmgr::lamp::SUBSTATE_OP_COOLING

◆ SUBSTATE_OP_DISABLING

const short testLampLcsIf::SUBSTATE_OP_DISABLING = ifw::fcf::devmgr::common::SUBSTATE_OP_DISABLING

◆ SUBSTATE_OP_ERROR

const short testLampLcsIf::SUBSTATE_OP_ERROR = ifw::fcf::devmgr::common::SUBSTATE_OP_ERROR

◆ SUBSTATE_OP_OFF

const short testLampLcsIf::SUBSTATE_OP_OFF = ifw::fcf::devmgr::actuator::SUBSTATE_OP_OFF

◆ SUBSTATE_OP_ON

const short testLampLcsIf::SUBSTATE_OP_ON = ifw::fcf::devmgr::actuator::SUBSTATE_OP_ON

◆ SUBSTATE_OP_SWITCHING_OFF

const short testLampLcsIf::SUBSTATE_OP_SWITCHING_OFF = ifw::fcf::devmgr::actuator::SUBSTATE_OP_SWITCHING_OFF

◆ SUBSTATE_OP_SWITCHING_ON

const short testLampLcsIf::SUBSTATE_OP_SWITCHING_ON = ifw::fcf::devmgr::actuator::SUBSTATE_OP_SWITCHING_ON

◆ SUBSTATE_OP_WARMING

const short testLampLcsIf::SUBSTATE_OP_WARMING = ifw::fcf::devmgr::lamp::SUBSTATE_OP_WARMING

◆ SUBSTATE_READY_OFF

const short testLampLcsIf::SUBSTATE_READY_OFF = ifw::fcf::devmgr::actuator::SUBSTATE_READY_OFF

◆ SUBSTATE_READY_ON

const short testLampLcsIf::SUBSTATE_READY_ON = ifw::fcf::devmgr::actuator::SUBSTATE_READY_ON