Searched refs:getPN (Results 1 – 9 of 9) sorted by relevance
/openbmc/phosphor-logging/test/openpower-pels/ |
H A D | fru_identity_test.cpp | 41 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 D | src_test.cpp | 360 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 D | src_callout_test.cpp | 186 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 D | pel_test.cpp | 885 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 D | callout.cpp | 231 auto myPN = _fruIdentity->getPN(); in operator ==() 232 auto otherPN = right.fruIdentity()->getPN(); in operator ==()
|
H A D | fru_identity.hpp | 187 std::optional<std::string> getPN() const;
|
H A D | fru_identity.cpp | 130 std::optional<std::string> FRUIdentity::getPN() const in getPN() function in openpower::pels::src::FRUIdentity
|
H A D | manager.cpp | 815 if (entry->fruIdentity()->getPN().has_value()) in getResolution() 818 "PN: " + entry->fruIdentity()->getPN().value() + in getResolution()
|
H A D | src.cpp | 638 if (entry->fruIdentity()->getPN().has_value()) in getCallouts() 641 entry->fruIdentity()->getPN().value(), 3); in getCallouts()
|