Searched refs:getSN (Results 1 – 8 of 8) sorted by relevance
/openbmc/phosphor-logging/test/openpower-pels/ |
H A D | fru_identity_test.cpp | 43 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 D | src_test.cpp | 362 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 D | src_callout_test.cpp | 54 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 D | pel_test.cpp | 887 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 D | fru_identity.hpp | 208 std::optional<std::string> getSN() const;
|
H A D | fru_identity.cpp | 171 std::optional<std::string> FRUIdentity::getSN() const in getSN() function in openpower::pels::src::FRUIdentity
|
H A D | manager.cpp | 821 if (entry->fruIdentity()->getSN().has_value()) in getResolution() 824 "SN: " + entry->fruIdentity()->getSN().value() + in getResolution()
|
H A D | src.cpp | 663 if (entry->fruIdentity()->getSN().has_value()) in getCallouts() 666 entry->fruIdentity()->getSN().value(), 3); in getCallouts()
|