Home
last modified time | relevance | path

Searched refs:getPN (Results 1 – 9 of 9) sorted by relevance

/openbmc/phosphor-logging/test/openpower-pels/
H A Dfru_identity_test.cpp41 EXPECT_EQ(fru.getPN().value(), "1234567"); in TEST()
70 EXPECT_FALSE(fru.getPN()); in TEST()
102 EXPECT_EQ(fru.getPN().value(), expectedPN); in testHWCallout()
120 EXPECT_EQ(newFRU.getPN().value(), fru.getPN().value()); in testHWCallout()
169 EXPECT_FALSE(fru.getPN()); in TEST()
187 EXPECT_FALSE(newFRU.getPN()); in TEST()
200 EXPECT_FALSE(fru.getPN()); in TEST()
222 EXPECT_EQ(fru.getPN().value(), "SVCDOCS"); in TEST()
240 EXPECT_EQ(newFRU.getPN().value(), "SVCDOCS"); in TEST()
254 EXPECT_EQ(fru.getPN().value(), "SVCDOCS"); in TEST()
[all …]
H A Dsrc_test.cpp360 EXPECT_EQ(fru->getPN().value(), "1234567"); in TEST_F()
452 EXPECT_EQ(fru->getPN(), ""); in TEST_F()
554 EXPECT_EQ(fru1->getPN().value(), "SVCDOCS"); in TEST_F()
564 EXPECT_FALSE(fru2->getPN()); in TEST_F()
591 EXPECT_EQ(fru1->getPN().value(), "SVCDOCS"); in TEST_F()
601 EXPECT_EQ(fru2->getPN().value(), "SVCDOCS"); in TEST_F()
659 EXPECT_EQ(fru1->getPN().value(), "1234567"); in TEST_F()
667 EXPECT_EQ(fru2->getPN().value(), "2345678"); in TEST_F()
729 EXPECT_EQ(fru1->getPN().value(), "SVCDOCS"); in TEST_F()
738 EXPECT_EQ(fru2->getPN().value(), "PWRSPLY"); in TEST_F()
[all …]
H A Dsrc_callout_test.cpp186 EXPECT_EQ(fru->getPN().value(), "1234567"); in TEST()
274 EXPECT_EQ(fru->getPN().value(), "1234567"); in TEST()
296 EXPECT_EQ(fru->getPN().value(), "1234567"); in TEST()
378 EXPECT_EQ(fru->getPN().value(), "SVCDOCS"); in TEST()
399 EXPECT_EQ(fru->getPN().value(), "SVCDOCS"); in TEST()
420 EXPECT_EQ(fru->getPN().value(), "SVCDOCS"); in TEST()
431 EXPECT_EQ(fru->getPN().value(), "SYMBFRU"); in TEST()
H A Dpel_test.cpp885 EXPECT_EQ(fru->getPN().value(), "1234567"); in TEST_F()
1032 EXPECT_EQ(fru->getPN().value(), "1234567"); in TEST_F()
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dcallout.cpp231 auto myPN = _fruIdentity->getPN(); in operator ==()
232 auto otherPN = right.fruIdentity()->getPN(); in operator ==()
H A Dfru_identity.hpp187 std::optional<std::string> getPN() const;
H A Dfru_identity.cpp130 std::optional<std::string> FRUIdentity::getPN() const in getPN() function in openpower::pels::src::FRUIdentity
H A Dmanager.cpp815 if (entry->fruIdentity()->getPN().has_value()) in getResolution()
818 "PN: " + entry->fruIdentity()->getPN().value() + in getResolution()
H A Dsrc.cpp638 if (entry->fruIdentity()->getPN().has_value()) in getCallouts()
641 entry->fruIdentity()->getPN().value(), 3); in getCallouts()