From: Gua Guo <gua....@intel.com> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=4443
PR: https://github.com/tianocore/edk2/pull/4335 V2: Fixed Azure build failure V1: Add google mock support for HobLib Add google mock support for PciHostBridgeLib Add google mock support for PeiServicesLib Gua Guo (2): MdeModulePkg: Add more PciHostBridgeLib gmock support MdePkg: Add more HobLib/PeiServicesLib gmock support MdeModulePkg/MdeModulePkg.dec | 1 + MdeModulePkg/Test/MdeModulePkgHostTest.dsc | 5 + .../GoogleTest/Library/MockPciHostBridgeLib.h | 40 ++++ .../MockPciHostBridgeLib.cpp | 14 ++ .../MockPciHostBridgeLib.inf | 35 ++++ MdePkg/Test/MdePkgHostTest.dsc | 2 + .../Include/GoogleTest/Library/MockHobLib.h | 150 ++++++++++++++ .../GoogleTest/Library/MockPeiServicesLib.h | 189 ++++++++++++++++++ .../GoogleTest/MockHobLib/MockHobLib.cpp | 30 +++ .../GoogleTest/MockHobLib/MockHobLib.inf | 33 +++ .../MockPeiServicesLib/MockPeiServicesLib.cpp | 36 ++++ .../MockPeiServicesLib/MockPeiServicesLib.inf | 33 +++ 12 files changed, 568 insertions(+) create mode 100644 MdeModulePkg/Test/Mock/Include/GoogleTest/Library/MockPciHostBridgeLib.h create mode 100644 MdeModulePkg/Test/Mock/Library/GoogleTest/MockPciHostBridgeLib/MockPciHostBridgeLib.cpp create mode 100644 MdeModulePkg/Test/Mock/Library/GoogleTest/MockPciHostBridgeLib/MockPciHostBridgeLib.inf create mode 100644 MdePkg/Test/Mock/Include/GoogleTest/Library/MockHobLib.h create mode 100644 MdePkg/Test/Mock/Include/GoogleTest/Library/MockPeiServicesLib.h create mode 100644 MdePkg/Test/Mock/Library/GoogleTest/MockHobLib/MockHobLib.cpp create mode 100644 MdePkg/Test/Mock/Library/GoogleTest/MockHobLib/MockHobLib.inf create mode 100644 MdePkg/Test/Mock/Library/GoogleTest/MockPeiServicesLib/MockPeiServicesLib.cpp create mode 100644 MdePkg/Test/Mock/Library/GoogleTest/MockPeiServicesLib/MockPeiServicesLib.inf -- 2.39.2.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#104278): https://edk2.groups.io/g/devel/message/104278 Mute This Topic: https://groups.io/mt/98764726/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-