Home
last modified time | relevance | path

Searched refs:dataPath (Results 1 – 5 of 5) sorted by relevance

/openbmc/phosphor-logging/test/openpower-pels/
H A Dpaths.cpp55 static std::string dataPath; in getPELReadOnlyDataPath() local
57 if (dataPath.empty()) in getPELReadOnlyDataPath()
60 dataPath = mkdtemp(templ); in getPELReadOnlyDataPath()
63 return dataPath; in getPELReadOnlyDataPath()
H A Ddevice_callouts_test.cpp222 dataPath = getPELReadOnlyDataPath(); in SetUpTestCase()
223 std::ofstream file{dataPath / filename}; in SetUpTestCase()
229 fs::remove_all(dataPath); in TearDownTestCase()
233 static fs::path dataPath; member in DeviceCalloutsTest
237 fs::path DeviceCalloutsTest::dataPath; member in DeviceCalloutsTest
278 fs::path{dataPath / filename}); in TEST_F()
291 fs::path fallbackFile{dataPath / "_dev_callouts.json"}; in TEST_F()
301 fs::path{dataPath / filename}); in TEST_F()
H A Djson_utils_test.cpp64 auto dataPath = getPELReadOnlyDataPath(); in TEST() local
65 std::ofstream file{dataPath / "O_component_ids.json"}; in TEST()
83 std::filesystem::remove_all(dataPath); in TEST()
H A Dsrc_test.cpp807 auto dataPath = getPELReadOnlyDataPath(); in TEST_F() local
808 std::ofstream file{dataPath / "systemA_dev_callouts.json"}; in TEST_F()
966 fs::remove_all(dataPath); in TEST_F()
H A Dpel_test.cpp858 auto dataPath = getPELReadOnlyDataPath(); in TEST_F() local
859 std::ofstream file{dataPath / "systemA_dev_callouts.json"}; in TEST_F()
949 fs::remove_all(dataPath); in TEST_F()