ifw
0.0.1-dev
|
Classes | |
class | MyDeviceConfig |
Test ShutterConfig class used for testing purposes. More... | |
class | MyShutter |
Test shutter class used for testing purposes. More... | |
class | TestShutter |
class | ActionStatus |
class | ActivityInitializing |
class | ActivityDisabling |
class | ActivityOpening |
class | ActivityClosing |
class | Data |
class | ActionMgr |
class | Application |
class | StateChecker |
Functions | |
void | expect_helper (MockDbAdapter &mock, MockIConfig &config) |
expect_helper More... | |
void | expect_helper_no (MockDbAdapter &mock) |
void | expect_read (std::shared_ptr< MockIComm > comm_if, std::shared_ptr< testShutter::MyDeviceConfig > &dev_cfg, devmgr::shutter::ShutterControllerData &data, int repetitions) |
TEST_F (TestShutter, Ctor) | |
Test Shutter constructor. More... | |
TEST_F (TestShutter, Connect) | |
TEST_F (TestShutter, Init) | |
TEST_F (TestShutter, Ignore) | |
TEST_F (TestShutter, Simulate) | |
TEST_F (TestShutter, Setup) | |
Test Shutter Setup method. More... | |
TEST_F (TestShutter, Status) | |
TEST_F (TestShutter, EndAcq) | |
TEST_F (TestShutter, Local) | |
Variables | |
std::string const | CONFIG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/config.yml" |
std::string const | SHUTTER_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testShutter.yml" |
std::string const | SHUTTER_MAP_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testMapShutter.yml" |
void testShutter::expect_helper | ( | MockDbAdapter & | mock, |
MockIConfig & | config | ||
) |
expect_helper
mock | Mock for DbAdapter class |
config | Mock for Configuration class |
This functions encapsulate the all the calls expected for the mock classes used in the test functions in this file.
void testShutter::expect_helper_no | ( | MockDbAdapter & | mock | ) |
void testShutter::expect_read | ( | std::shared_ptr< MockIComm > | comm_if, |
std::shared_ptr< testShutter::MyDeviceConfig > & | dev_cfg, | ||
devmgr::shutter::ShutterControllerData & | data, | ||
int | repetitions | ||
) |
testShutter::TEST_F | ( | TestShutter | , |
Ctor | |||
) |
testShutter::TEST_F | ( | TestShutter | , |
Connect | |||
) |
testShutter::TEST_F | ( | TestShutter | , |
Init | |||
) |
testShutter::TEST_F | ( | TestShutter | , |
Ignore | |||
) |
testShutter::TEST_F | ( | TestShutter | , |
Simulate | |||
) |
testShutter::TEST_F | ( | TestShutter | , |
Setup | |||
) |
testShutter::TEST_F | ( | TestShutter | , |
Status | |||
) |
testShutter::TEST_F | ( | TestShutter | , |
EndAcq | |||
) |
testShutter::TEST_F | ( | TestShutter | , |
Local | |||
) |
std::string const testShutter::CONFIG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/config.yml" |
std::string const testShutter::SHUTTER_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testShutter.yml" |
std::string const testShutter::SHUTTER_MAP_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testMapShutter.yml" |