Home
last modified time | relevance | path

Searched refs:getSN (Results 1 – 8 of 8) sorted by relevance

/openbmc/phosphor-logging/test/openpower-pels/
H A Dfru_identity_test.cpp43 EXPECT_EQ(fru.getSN().value(), "123456789ABC"); in TEST()
72 EXPECT_FALSE(fru.getSN()); in TEST()
104 EXPECT_EQ(fru.getSN().value(), expectedSN); in testHWCallout()
122 EXPECT_EQ(newFRU.getSN().value(), fru.getSN().value()); in testHWCallout()
171 EXPECT_FALSE(fru.getSN()); in TEST()
189 EXPECT_FALSE(newFRU.getSN()); in TEST()
202 EXPECT_FALSE(fru.getSN()); in TEST()
225 EXPECT_FALSE(fru.getSN()); in TEST()
243 EXPECT_FALSE(newFRU.getSN()); in TEST()
257 EXPECT_FALSE(fru.getSN()); in TEST()
[all …]
H A Dsrc_test.cpp362 EXPECT_EQ(fru->getSN().value(), "123456789ABC"); in TEST_F()
454 EXPECT_EQ(fru->getSN(), ""); in TEST_F()
557 EXPECT_FALSE(fru1->getSN()); in TEST_F()
565 EXPECT_FALSE(fru2->getSN()); in TEST_F()
595 EXPECT_FALSE(fru1->getSN()); in TEST_F()
604 EXPECT_FALSE(fru2->getSN()); in TEST_F()
661 EXPECT_EQ(fru1->getSN().value(), "123456789ABC"); in TEST_F()
669 EXPECT_EQ(fru2->getSN().value(), "23456789ABCD"); in TEST_F()
834 EXPECT_EQ(fru1->getSN().value(), ""); in TEST_F()
842 EXPECT_EQ(fru2->getSN().value(), ""); in TEST_F()
[all …]
H A Dsrc_callout_test.cpp54 EXPECT_EQ(callout.fruIdentity()->getSN(), "123456789ABC"); in TEST()
92 EXPECT_EQ(callout.fruIdentity()->getSN(), "123456789ABC"); in TEST()
129 EXPECT_EQ(callout.fruIdentity()->getSN(), "123456789ABC"); in TEST()
188 EXPECT_EQ(fru->getSN().value(), "123456789ABC"); in TEST()
276 EXPECT_EQ(fru->getSN().value(), "123456789ABC"); in TEST()
298 EXPECT_EQ(fru->getSN().value(), "123456789ABC"); in TEST()
H A Dpel_test.cpp887 EXPECT_EQ(fru->getSN().value(), "123456789ABC"); in TEST_F()
1034 EXPECT_EQ(fru->getSN().value(), "123456789ABC"); in TEST_F()
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dfru_identity.hpp208 std::optional<std::string> getSN() const;
H A Dfru_identity.cpp171 std::optional<std::string> FRUIdentity::getSN() const in getSN() function in openpower::pels::src::FRUIdentity
H A Dmanager.cpp821 if (entry->fruIdentity()->getSN().has_value()) in getResolution()
824 "SN: " + entry->fruIdentity()->getSN().value() + in getResolution()
H A Dsrc.cpp663 if (entry->fruIdentity()->getSN().has_value()) in getCallouts()
666 entry->fruIdentity()->getSN().value(), 3); in getCallouts()