ifw
0.0.1-dev
|
Classes | |
class | MyDeviceConfig |
Test LampConfig class used for testing purposes. More... | |
class | TestLampConfig |
Functions | |
void | expect_helper (MockDbAdapter &mock) |
expect_helper More... | |
TEST_F (TestLampConfig, Ctor) | |
TEST_F (TestLampConfig, ReadConfig) | |
TEST_F (TestLampConfig, GetIdentifier) | |
TEST_F (TestLampConfig, GetPrefix) | |
TEST_F (TestLampConfig, GetAddress) | |
TEST_F (TestLampConfig, GetType) | |
TEST_F (TestLampConfig, GetNamespace) | |
TEST_F (TestLampConfig, GetNodeId) | |
TEST_F (TestLampConfig, GetProcId) | |
TEST_F (TestLampConfig, GetObjId) | |
Variables | |
std::string const | CONFIG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/config.yml" |
std::string const | LAMP1_CFG = std::string(WAF_MODULE_PATH) + "/test/res/lamp1.yml" |
std::string const | WRONG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/wrong.yml" |
void testLampConfig::expect_helper | ( | MockDbAdapter & | mock | ) |
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.
testLampConfig::TEST_F | ( | TestLampConfig | , |
Ctor | |||
) |
testLampConfig::TEST_F | ( | TestLampConfig | , |
ReadConfig | |||
) |
testLampConfig::TEST_F | ( | TestLampConfig | , |
GetIdentifier | |||
) |
testLampConfig::TEST_F | ( | TestLampConfig | , |
GetPrefix | |||
) |
testLampConfig::TEST_F | ( | TestLampConfig | , |
GetAddress | |||
) |
testLampConfig::TEST_F | ( | TestLampConfig | , |
GetType | |||
) |
testLampConfig::TEST_F | ( | TestLampConfig | , |
GetNamespace | |||
) |
testLampConfig::TEST_F | ( | TestLampConfig | , |
GetNodeId | |||
) |
testLampConfig::TEST_F | ( | TestLampConfig | , |
GetProcId | |||
) |
testLampConfig::TEST_F | ( | TestLampConfig | , |
GetObjId | |||
) |
std::string const testLampConfig::CONFIG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/config.yml" |
std::string const testLampConfig::LAMP1_CFG = std::string(WAF_MODULE_PATH) + "/test/res/lamp1.yml" |
std::string const testLampConfig::WRONG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/wrong.yml" |