Lines Matching refs:configFilePath
116 auto configFilePath = std::string(dir.c_str()) + "/" + ldapConfFile; in TEST_F() local
121 if (fs::exists(configFilePath)) in TEST_F()
123 fs::remove(configFilePath); in TEST_F()
125 EXPECT_FALSE(fs::exists(configFilePath)); in TEST_F()
126 MockConfigMgr manager(bus, LDAP_CONFIG_ROOT, configFilePath.c_str(), in TEST_F()
154 EXPECT_TRUE(fs::exists(configFilePath)); in TEST_F()
176 auto configFilePath = std::string(dir.c_str()) + "/" + ldapConfFile; in TEST_F() local
181 if (fs::exists(configFilePath)) in TEST_F()
183 fs::remove(configFilePath); in TEST_F()
185 EXPECT_FALSE(fs::exists(configFilePath)); in TEST_F()
187 MockConfigMgr manager(bus, LDAP_CONFIG_ROOT, configFilePath.c_str(), in TEST_F()
203 auto configFilePath = std::string(dir.c_str()) + "/" + ldapConfFile; in TEST_F() local
208 if (fs::exists(configFilePath)) in TEST_F()
210 fs::remove(configFilePath); in TEST_F()
212 EXPECT_FALSE(fs::exists(configFilePath)); in TEST_F()
214 MockConfigMgr manager(bus, LDAP_CONFIG_ROOT, configFilePath.c_str(), in TEST_F()
236 auto configFilePath = std::string(dir.c_str()) + "/" + ldapConfFile; in TEST_F() local
241 if (fs::exists(configFilePath)) in TEST_F()
243 fs::remove(configFilePath); in TEST_F()
245 EXPECT_FALSE(fs::exists(configFilePath)); in TEST_F()
247 new MockConfigMgr(bus, LDAP_CONFIG_ROOT, configFilePath.c_str(), in TEST_F()
258 EXPECT_FALSE(fs::exists(configFilePath)); in TEST_F()
262 EXPECT_TRUE(fs::exists(configFilePath)); in TEST_F()
284 auto configFilePath = std::string(dir.c_str()) + "/" + ldapConfFile; in TEST_F() local
289 if (fs::exists(configFilePath)) in TEST_F()
291 fs::remove(configFilePath); in TEST_F()
293 EXPECT_FALSE(fs::exists(configFilePath)); in TEST_F()
295 new MockConfigMgr(bus, LDAP_CONFIG_ROOT, configFilePath.c_str(), in TEST_F()
333 auto configFilePath = std::string(dir.c_str()) + "/" + ldapConfFile; in TEST_F() local
338 if (fs::exists(configFilePath)) in TEST_F()
340 fs::remove(configFilePath); in TEST_F()
342 EXPECT_FALSE(fs::exists(configFilePath)); in TEST_F()
344 new MockConfigMgr(bus, LDAP_CONFIG_ROOT, configFilePath.c_str(), in TEST_F()
386 auto configFilePath = std::string(dir.c_str()) + "/" + ldapConfFile; in TEST_F() local
391 if (fs::exists(configFilePath)) in TEST_F()
393 fs::remove(configFilePath); in TEST_F()
395 EXPECT_FALSE(fs::exists(configFilePath)); in TEST_F()
397 new MockConfigMgr(bus, LDAP_CONFIG_ROOT, configFilePath.c_str(), in TEST_F()
436 auto configFilePath = std::string(dir.c_str()) + "/" + ldapConfFile; in TEST_F() local
441 if (fs::exists(configFilePath)) in TEST_F()
443 fs::remove(configFilePath); in TEST_F()
445 EXPECT_FALSE(fs::exists(configFilePath)); in TEST_F()
447 new MockConfigMgr(bus, LDAP_CONFIG_ROOT, configFilePath.c_str(), in TEST_F()
474 auto configFilePath = std::string(dir.c_str()) + "/" + ldapConfFile; in TEST_F() local
479 if (fs::exists(configFilePath)) in TEST_F()
481 fs::remove(configFilePath); in TEST_F()
483 EXPECT_FALSE(fs::exists(configFilePath)); in TEST_F()
485 new MockConfigMgr(bus, LDAP_CONFIG_ROOT, configFilePath.c_str(), in TEST_F()
514 auto configFilePath = std::string(dir.c_str()) + "/" + ldapConfFile; in TEST_F() local
519 if (fs::exists(configFilePath)) in TEST_F()
521 fs::remove(configFilePath); in TEST_F()
523 EXPECT_FALSE(fs::exists(configFilePath)); in TEST_F()
525 new MockConfigMgr(bus, LDAP_CONFIG_ROOT, configFilePath.c_str(), in TEST_F()
546 auto configFilePath = std::string(dir.c_str()) + "/" + ldapConfFile; in TEST_F() local
551 if (fs::exists(configFilePath)) in TEST_F()
553 fs::remove(configFilePath); in TEST_F()
555 EXPECT_FALSE(fs::exists(configFilePath)); in TEST_F()
557 new MockConfigMgr(bus, LDAP_CONFIG_ROOT, configFilePath.c_str(), in TEST_F()
583 auto configFilePath = std::string(dir.c_str()) + "/" + ldapConfFile; in TEST_F() local
588 if (fs::exists(configFilePath)) in TEST_F()
590 fs::remove(configFilePath); in TEST_F()
592 EXPECT_FALSE(fs::exists(configFilePath)); in TEST_F()
594 new MockConfigMgr(bus, LDAP_CONFIG_ROOT, configFilePath.c_str(), in TEST_F()
646 auto configFilePath = std::string(dir.c_str()) + "/" + ldapConfFile; in TEST_F() local
651 if (fs::exists(configFilePath)) in TEST_F()
653 fs::remove(configFilePath); in TEST_F()
655 EXPECT_FALSE(fs::exists(configFilePath)); in TEST_F()
656 MockConfigMgr manager(bus, LDAP_CONFIG_ROOT, configFilePath.c_str(), in TEST_F()
679 auto configFilePath = std::string(dir.c_str()) + "/" + ldapConfFile; in TEST_F() local
684 if (fs::exists(configFilePath)) in TEST_F()
686 fs::remove(configFilePath); in TEST_F()
688 EXPECT_FALSE(fs::exists(configFilePath)); in TEST_F()
689 MockConfigMgr manager(bus, LDAP_CONFIG_ROOT, configFilePath.c_str(), in TEST_F()
720 auto configFilePath = std::string(dir.c_str()) + "/" + ldapConfFile; in TEST_F() local
725 if (fs::exists(configFilePath)) in TEST_F()
727 fs::remove(configFilePath); in TEST_F()
729 EXPECT_FALSE(fs::exists(configFilePath)); in TEST_F()
730 MockConfigMgr manager(bus, LDAP_CONFIG_ROOT, configFilePath.c_str(), in TEST_F()
767 auto configFilePath = std::string(dir.c_str()) + "/" + ldapConfFile; in TEST_F() local
772 if (fs::exists(configFilePath)) in TEST_F()
774 fs::remove(configFilePath); in TEST_F()
776 EXPECT_FALSE(fs::exists(configFilePath)); in TEST_F()
777 MockConfigMgr manager(bus, LDAP_CONFIG_ROOT, configFilePath.c_str(), in TEST_F()