public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Guo, Gua" <gua.guo@intel.com>
To: devel@edk2.groups.io
Cc: gua.guo@intel.com
Subject: [PATCH v1 0/2] Add more google mock library
Date: Fri,  5 May 2023 09:37:49 +0800	[thread overview]
Message-ID: <20230505013751.497-1-gua.guo@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

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


             reply	other threads:[~2023-05-05  1:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-05  1:37 Guo, Gua [this message]
2023-05-05  1:37 ` [PATCH v1 1/2] MdeModulePkg: Add more PciHostBridgeLib gmock support Guo, Gua
2023-05-05  1:37 ` [PATCH v1 2/2] MdePkg: Add more HobLib/PeiServicesLib " 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=20230505013751.497-1-gua.guo@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