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

Classes

class  TestMotorConfig
 The TestMotorConfig class. More...
 
class  TestMotorLcsIf
 

Functions

void ExpectHelper (MockDbAdapter &mock, MockIConfig &config)
 
void ExpectHelperNo (MockDbAdapter &mock)
 
 TEST_F (TestMotorLcsIf, Ctor)
 
void ExpectReadHelper (std::shared_ptr< MockIComm > comm_if, std::shared_ptr< testMotorLcsIf::TestMotorConfig > &dev_cfg, int state, int substate)
 
 TEST_F (TestMotorLcsIf, Config)
 
 TEST_F (TestMotorLcsIf, Connect)
 
 TEST_F (TestMotorLcsIf, MoveAbs)
 
 TEST_F (TestMotorLcsIf, IsReady)
 
 TEST_F (TestMotorLcsIf, IsOperational)
 
 TEST_F (TestMotorLcsIf, IsMoving)
 
 TEST_F (TestMotorLcsIf, IsHwFailure)
 
 TEST_F (TestMotorLcsIf, ReadStatus)
 
 TEST_F (TestMotorLcsIf, Listener)
 

Variables

std::string const CONFIG_CFG
 
std::string const MOTOR_CFG
 
std::string const MOTOR_MAP_CFG
 
std::string const MOTOR_BAD1_CFG
 
std::string const MOTOR_BAD2_CFG
 
std::string const MOTOR_BAD3_CFG
 
std::string const MOTOR_BADMAP1_CFG
 
std::string const MOTOR_BADMAP2_CFG
 
std::string const MOTOR_BADMAP3_CFG
 

Function Documentation

◆ ExpectHelper()

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

◆ ExpectHelperNo()

void testMotorLcsIf::ExpectHelperNo ( MockDbAdapter mock)

◆ ExpectReadHelper()

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

◆ TEST_F() [1/10]

testMotorLcsIf::TEST_F ( TestMotorLcsIf  ,
Config   
)

◆ TEST_F() [2/10]

testMotorLcsIf::TEST_F ( TestMotorLcsIf  ,
Connect   
)

◆ TEST_F() [3/10]

testMotorLcsIf::TEST_F ( TestMotorLcsIf  ,
Ctor   
)

◆ TEST_F() [4/10]

testMotorLcsIf::TEST_F ( TestMotorLcsIf  ,
IsHwFailure   
)

◆ TEST_F() [5/10]

testMotorLcsIf::TEST_F ( TestMotorLcsIf  ,
IsMoving   
)

◆ TEST_F() [6/10]

testMotorLcsIf::TEST_F ( TestMotorLcsIf  ,
IsOperational   
)

◆ TEST_F() [7/10]

testMotorLcsIf::TEST_F ( TestMotorLcsIf  ,
IsReady   
)

◆ TEST_F() [8/10]

testMotorLcsIf::TEST_F ( TestMotorLcsIf  ,
Listener   
)

◆ TEST_F() [9/10]

testMotorLcsIf::TEST_F ( TestMotorLcsIf  ,
MoveAbs   
)

◆ TEST_F() [10/10]

testMotorLcsIf::TEST_F ( TestMotorLcsIf  ,
ReadStatus   
)

Variable Documentation

◆ CONFIG_CFG

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

◆ MOTOR_BAD1_CFG

std::string const testMotorLcsIf::MOTOR_BAD1_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/testBadMotor1.yml"

◆ MOTOR_BAD2_CFG

std::string const testMotorLcsIf::MOTOR_BAD2_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/testBadMotor2.yml"

◆ MOTOR_BAD3_CFG

std::string const testMotorLcsIf::MOTOR_BAD3_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/testBadMotor3.yml"

◆ MOTOR_BADMAP1_CFG

std::string const testMotorLcsIf::MOTOR_BADMAP1_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/testBadMapMotor1.yml"

◆ MOTOR_BADMAP2_CFG

std::string const testMotorLcsIf::MOTOR_BADMAP2_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/testBadMapMotor2.yml"

◆ MOTOR_BADMAP3_CFG

std::string const testMotorLcsIf::MOTOR_BADMAP3_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/testBadMapMotor3.yml"

◆ MOTOR_CFG

std::string const testMotorLcsIf::MOTOR_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/testMotor.yml"

◆ MOTOR_MAP_CFG

std::string const testMotorLcsIf::MOTOR_MAP_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/testMapMotor.yml"