/openbmc/pldm/libpldmresponder/test/ |
H A D | libpldmresponder_bios_config_test.cpp | 34 tableDir = fs::path(mkdtemp(tmpdir)); in SetUpTestCase() 67 fs::remove_all(tableDir); in TearDownTestCase() 70 static fs::path tableDir; member in TestBIOSConfig 74 fs::path TestBIOSConfig::tableDir; member in TestBIOSConfig 91 BIOSConfig biosConfig(biosFilePath.c_str(), tableDir.c_str(), &dbusHandler, in TEST_F() 260 BIOSConfig biosConfig("./", tableDir.c_str(), &dbusHandler, 0, 0, nullptr, in TEST_F() 285 BIOSConfig biosConfig("./jsons", tableDir.c_str(), &dbusHandler, 0, 0, in TEST_F() 302 BIOSConfig biosConfig("./jsons", tableDir.c_str(), &dbusHandler, 0, 0, in TEST_F() 326 BIOSConfig biosConfig("./bios_jsons", tableDir.c_str(), &dbusHandler, 0, 0, in TEST_F()
|
H A D | libpldmresponder_systemspecific_bios_test.cpp | 34 tableDir = fs::path(mkdtemp(tmpdir)); in SetUpTestCase() 71 fs::remove_all(tableDir); in TearDownTestCase() 74 static fs::path tableDir; member in TestSystemSpecificBIOSConfig 78 fs::path TestSystemSpecificBIOSConfig::tableDir; member in TestSystemSpecificBIOSConfig 98 BIOSConfig biosConfig(biosFilePath.c_str(), tableDir.c_str(), &dbusHandler, in TEST_F() 271 BIOSConfig biosConfig("./system_type1/bios_jsons", tableDir.c_str(), in TEST_F() 339 BIOSConfig biosConfig("./", tableDir.c_str(), &dbusHandler, 0, 0, nullptr, in TEST_F() 365 BIOSConfig biosConfig("./", tableDir.c_str(), &dbusHandler, 0, 0, nullptr, in TEST_F() 383 BIOSConfig biosConfig("./", tableDir.c_str(), &dbusHandler, 0, 0, nullptr, in TEST_F() 411 BIOSConfig biosConfig("./bios_jsons", tableDir.c_str(), &dbusHandler, 0, 0, in TEST_F()
|
/openbmc/pldm/libpldmresponder/ |
H A D | bios_config.cpp | 43 const char* jsonDir, const char* tableDir, DBusHandler* const dbusHandler, in BIOSConfig() argument 48 jsonDir(jsonDir), tableDir(tableDir), dbusHandler(dbusHandler), eid(eid), in BIOSConfig() 53 fs::create_directories(tableDir); in BIOSConfig() 123 tablePath = tableDir / stringTableFile; in getBIOSTable() 126 tablePath = tableDir / attrTableFile; in getBIOSTable() 129 tablePath = tableDir / attrValueTableFile; in getBIOSTable() 138 fs::path stringTablePath(tableDir / stringTableFile); in setBIOSTable() 139 fs::path attrTablePath(tableDir / attrTableFile); in setBIOSTable() 140 fs::path attrValueTablePath(tableDir / attrValueTableFile); in setBIOSTable() 964 fs::remove(tableDir / stringTableFile); in removeTables() [all …]
|
H A D | bios_config.hpp | 89 const char* jsonDir, const char* tableDir, 159 const fs::path tableDir; member in pldm::responder::bios::BIOSConfig
|