public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add more google mock library
@ 2023-05-08  6:17 victorx.hsu
  2023-05-08  6:17 ` [PATCH v2 1/2] MdeModulePkg: Add more PciHostBridgeLib gmock support victorx.hsu
  2023-05-08  6:17 ` [PATCH v2 2/2] MdePkg: Add more HobLib/PeiServicesLib " victorx.hsu
  0 siblings, 2 replies; 4+ messages in thread
From: victorx.hsu @ 2023-05-08  6:17 UTC (permalink / raw)
  To: devel; +Cc: michael.d.kinney, Gua Guo

From: Gua Guo <gua.guo@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


^ permalink raw reply	[flat|nested] 4+ messages in thread
* [PATCH v2 0/2] Add more google mock library
@ 2023-05-05  3:52 Guo, Gua
  2023-05-05  3:52 ` [PATCH v2 2/2] MdePkg: Add more HobLib/PeiServicesLib gmock support Guo, Gua
  0 siblings, 1 reply; 4+ messages in thread
From: Guo, Gua @ 2023-05-05  3:52 UTC (permalink / raw)
  To: devel; +Cc: gua.guo

From: Gua Guo <gua.guo@intel.com>

V2
Fix AzurePipe line plugin report 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-05-08  6:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-08  6:17 [PATCH v2 0/2] Add more google mock library victorx.hsu
2023-05-08  6:17 ` [PATCH v2 1/2] MdeModulePkg: Add more PciHostBridgeLib gmock support victorx.hsu
2023-05-08  6:17 ` [PATCH v2 2/2] MdePkg: Add more HobLib/PeiServicesLib " victorx.hsu
  -- strict thread matches above, loose matches on Subject: below --
2023-05-05  3:52 [PATCH v2 0/2] Add more google mock library Guo, Gua
2023-05-05  3:52 ` [PATCH v2 2/2] MdePkg: Add more HobLib/PeiServicesLib gmock support Guo, Gua

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox