From: victorx.hsu@intel.com
To: devel@edk2.groups.io
Cc: michael.d.kinney@intel.com, Gua Guo <gua.guo@intel.com>
Subject: [PATCH v2 0/2] Add more google mock library
Date: Mon, 8 May 2023 14:17:46 +0800 [thread overview]
Message-ID: <20230508061748.104-1-victorx.hsu@intel.com> (raw)
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
next reply other threads:[~2023-05-08 6:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-08 6:17 victorx.hsu [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230508061748.104-1-victorx.hsu@intel.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox