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

Classes

class  TestShutterConfig
 The TestShutterConfig class. More...
 
class  TestShutterLcsIf
 

Functions

void ExpectHelper (MockDbAdapter &mock, MockIConfig &config)
 
void ExpectHelperNo (MockDbAdapter &mock)
 
 TEST_F (TestShutterLcsIf, Ctor)
 
void ExpectReadHelper (std::shared_ptr< MockIComm > comm_if, std::shared_ptr< testShutterLcsIf::TestShutterConfig > &dev_cfg, int state, int substate)
 
 TEST_F (TestShutterLcsIf, Config)
 
 TEST_F (TestShutterLcsIf, Connect)
 
 TEST_F (TestShutterLcsIf, Open)
 
 TEST_F (TestShutterLcsIf, Close)
 
 TEST_F (TestShutterLcsIf, IsReady)
 
 TEST_F (TestShutterLcsIf, IsOperational)
 
 TEST_F (TestShutterLcsIf, IsOpening)
 
 TEST_F (TestShutterLcsIf, IsClosing)
 
 TEST_F (TestShutterLcsIf, IsOpen)
 
 TEST_F (TestShutterLcsIf, IsClose)
 
 TEST_F (TestShutterLcsIf, IsHwFailure)
 
 TEST_F (TestShutterLcsIf, ReadStatus)
 

Variables

std::string const CONFIG_CFG
 
std::string const SHUTTER_CFG
 
std::string const SHUTTER_MAP_CFG
 
std::string const SHUTTER_BAD1_CFG
 
std::string const SHUTTER_BAD2_CFG
 
std::string const SHUTTER_BAD3_CFG
 
std::string const SHUTTER_BADMAP1_CFG
 
std::string const SHUTTER_BADMAP2_CFG
 
std::string const SHUTTER_BADMAP3_CFG
 

Function Documentation

◆ ExpectHelper()

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

◆ ExpectHelperNo()

void testShutterLcsIf::ExpectHelperNo ( MockDbAdapter mock)

◆ ExpectReadHelper()

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

◆ TEST_F() [1/13]

testShutterLcsIf::TEST_F ( TestShutterLcsIf  ,
Close   
)

◆ TEST_F() [2/13]

testShutterLcsIf::TEST_F ( TestShutterLcsIf  ,
Config   
)

◆ TEST_F() [3/13]

testShutterLcsIf::TEST_F ( TestShutterLcsIf  ,
Connect   
)

◆ TEST_F() [4/13]

testShutterLcsIf::TEST_F ( TestShutterLcsIf  ,
Ctor   
)

◆ TEST_F() [5/13]

testShutterLcsIf::TEST_F ( TestShutterLcsIf  ,
IsClose   
)

◆ TEST_F() [6/13]

testShutterLcsIf::TEST_F ( TestShutterLcsIf  ,
IsClosing   
)

◆ TEST_F() [7/13]

testShutterLcsIf::TEST_F ( TestShutterLcsIf  ,
IsHwFailure   
)

◆ TEST_F() [8/13]

testShutterLcsIf::TEST_F ( TestShutterLcsIf  ,
IsOpen   
)

◆ TEST_F() [9/13]

testShutterLcsIf::TEST_F ( TestShutterLcsIf  ,
IsOpening   
)

◆ TEST_F() [10/13]

testShutterLcsIf::TEST_F ( TestShutterLcsIf  ,
IsOperational   
)

◆ TEST_F() [11/13]

testShutterLcsIf::TEST_F ( TestShutterLcsIf  ,
IsReady   
)

◆ TEST_F() [12/13]

testShutterLcsIf::TEST_F ( TestShutterLcsIf  ,
Open   
)

◆ TEST_F() [13/13]

testShutterLcsIf::TEST_F ( TestShutterLcsIf  ,
ReadStatus   
)

Variable Documentation

◆ CONFIG_CFG

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

◆ SHUTTER_BAD1_CFG

std::string const testShutterLcsIf::SHUTTER_BAD1_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/testBadShutter1.yml"

◆ SHUTTER_BAD2_CFG

std::string const testShutterLcsIf::SHUTTER_BAD2_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/testBadShutter2.yml"

◆ SHUTTER_BAD3_CFG

std::string const testShutterLcsIf::SHUTTER_BAD3_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/testBadShutter3.yml"

◆ SHUTTER_BADMAP1_CFG

std::string const testShutterLcsIf::SHUTTER_BADMAP1_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/testBadMapShutter1.yml"

◆ SHUTTER_BADMAP2_CFG

std::string const testShutterLcsIf::SHUTTER_BADMAP2_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/testBadMapShutter2.yml"

◆ SHUTTER_BADMAP3_CFG

std::string const testShutterLcsIf::SHUTTER_BADMAP3_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/testBadMapShutter3.yml"

◆ SHUTTER_CFG

std::string const testShutterLcsIf::SHUTTER_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/testShutter.yml"

◆ SHUTTER_MAP_CFG

std::string const testShutterLcsIf::SHUTTER_MAP_CFG
Initial value:
= std::string(WAF_MODULE_PATH) +
"/test/res/testMapShutter.yml"