Home
last modified time | relevance | path

Searched refs:dbPath (Results 1 – 2 of 2) sorted by relevance

/openbmc/pldm/test/
H A Dtest_instance_id.hpp19 std::filesystem::remove(dbPath); in ~TestInstanceIdDb()
31 std::filesystem::path dbPath(dbName); in createDb() local
33 dbPath, static_cast<uintmax_t>(PLDM_MAX_TIDS) * pldmMaxInstanceIds); in createDb()
35 return dbPath; in createDb()
38 TestInstanceIdDb(std::filesystem::path dbPath) : in TestInstanceIdDb() argument
39 InstanceIdDb(dbPath), dbPath(dbPath) in TestInstanceIdDb()
42 std::filesystem::path dbPath; member in TestInstanceIdDb
/openbmc/libpldm/tests/
H A Dinstance-id.cpp47 dbPath = std::filesystem::path(dbName); in SetUp()
54 std::filesystem::remove(dbPath); in TearDown()
58 std::filesystem::path dbPath; member in PldmInstanceDbTest
68 std::filesystem::resize_file(dbPath, 0); in TEST_F()
76 std::filesystem::resize_file(dbPath, in TEST_F()
85 EXPECT_EQ(pldm_instance_db_init(&db, dbPath.c_str()), 0); in TEST_F()
95 ASSERT_EQ(pldm_instance_db_init(&db, dbPath.c_str()), 0); in TEST_F()
109 ASSERT_EQ(pldm_instance_db_init(&db, dbPath.c_str()), 0); in TEST_F()
131 ASSERT_EQ(pldm_instance_db_init(&db, dbPath.c_str()), 0); in TEST_F()
221 ASSERT_EQ(pldm_instance_db_init(&db, dbPath.c_str()), 0); in TEST_F()
[all …]