ifw
0.0.1-dev
|
Classes | |
class | MyDeviceConfig |
Test MotorConfig class used for testing purposes. More... | |
class | MyMotor |
Test motor class used for testing purposes. More... | |
class | TestMotor |
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< testMotor::MyDeviceConfig > &dev_cfg, devmgr::motor::MotorControllerData &data, int repetitions) |
TEST_F (TestMotor, Ctor) | |
Test Motor constructor. More... | |
TEST_F (TestMotor, Connect) | |
TEST_F (TestMotor, Init) | |
TEST_F (TestMotor, Ignore) | |
TEST_F (TestMotor, Simulate) | |
TEST_F (TestMotor, Setup) | |
Test Motor Setup method. More... | |
TEST_F (TestMotor, Status) | |
TEST_F (TestMotor, EndAcq) | |
TEST_F (TestMotor, Local) | |
Variables | |
std::string const | CONFIG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/config.yml" |
std::string const | MOTOR_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testMotor.yml" |
std::string const | MOTOR_MAP_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testMapMotor.yml" |
void testMotor::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 testMotor::expect_helper_no | ( | MockDbAdapter & | mock | ) |
void testMotor::expect_read | ( | std::shared_ptr< MockIComm > | comm_if, |
std::shared_ptr< testMotor::MyDeviceConfig > & | dev_cfg, | ||
devmgr::motor::MotorControllerData & | data, | ||
int | repetitions | ||
) |
testMotor::TEST_F | ( | TestMotor | , |
Connect | |||
) |
testMotor::TEST_F | ( | TestMotor | , |
Init | |||
) |
testMotor::TEST_F | ( | TestMotor | , |
Ignore | |||
) |
testMotor::TEST_F | ( | TestMotor | , |
Simulate | |||
) |
testMotor::TEST_F | ( | TestMotor | , |
Status | |||
) |
testMotor::TEST_F | ( | TestMotor | , |
EndAcq | |||
) |
testMotor::TEST_F | ( | TestMotor | , |
Local | |||
) |
std::string const testMotor::CONFIG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/config.yml" |
std::string const testMotor::MOTOR_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testMotor.yml" |
std::string const testMotor::MOTOR_MAP_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testMapMotor.yml" |