From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mx.groups.io with SMTP id smtpd.web10.19470.1683258793845446976 for ; Thu, 04 May 2023 20:53:14 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=E0/u9IoO; spf=pass (domain: intel.com, ip: 134.134.136.65, mailfrom: gua.guo@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1683258793; x=1714794793; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=qGxZ8pkGUM9zqHeiErAZystIm3yfVJm+KAzxlibJp8s=; b=E0/u9IoOTnZbKeLXio0spcoceUBciBNj2WdUy9FH8apQt3EUUxAqHpef t0N9reGuD7w8tO5IzwJaf6mznUi4vurZC+veqmMP5c9BZ7exNfbivE4wM 9z+H3Y3707JnYqD7WhER1hNfUTKnEfiih3Jmdx1zpGprQfLt6PnaQNdg8 Q49wTujnpresQRpAIpcc8BasDmocCOJ8jud0kAUwSFZg4FfArhRc+zGMl E8CO/ffLuPZU3GjLEU52Zbyfuz1V8Ef+mHLt34cL8tVr5xKnAuZQQPANb 5rxkvpc9+TpPh1X9y4AKnTfJuz5k2smSQ3WQrJb63PMp8TU0dwDYvWpH7 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10700"; a="352155716" X-IronPort-AV: E=Sophos;i="5.99,250,1677571200"; d="scan'208";a="352155716" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 May 2023 20:52:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10700"; a="674848017" X-IronPort-AV: E=Sophos;i="5.99,250,1677571200"; d="scan'208";a="674848017" Received: from gguo-desk.gar.corp.intel.com ([10.5.215.23]) by orsmga006.jf.intel.com with ESMTP; 04 May 2023 20:52:45 -0700 From: "Guo, Gua" To: devel@edk2.groups.io Cc: gua.guo@intel.com Subject: [PATCH v2 0/2] Add more google mock library Date: Fri, 5 May 2023 11:52:37 +0800 Message-Id: <20230505035239.381-1-gua.guo@intel.com> X-Mailer: git-send-email 2.39.2.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Gua Guo V2=0D Fix AzurePipe line plugin report failure=0D V1=0D Add google mock support for HobLib=0D Add google mock support for PciHostBridgeLib=0D 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/MockP= ciHostBridgeLib.h create mode 100644 MdeModulePkg/Test/Mock/Library/GoogleTest/MockPciHostBr= idgeLib/MockPciHostBridgeLib.cpp create mode 100644 MdeModulePkg/Test/Mock/Library/GoogleTest/MockPciHostBr= idgeLib/MockPciHostBridgeLib.inf create mode 100644 MdePkg/Test/Mock/Include/GoogleTest/Library/MockHobLib.h create mode 100644 MdePkg/Test/Mock/Include/GoogleTest/Library/MockPeiServ= icesLib.h create mode 100644 MdePkg/Test/Mock/Library/GoogleTest/MockHobLib/MockHobL= ib.cpp create mode 100644 MdePkg/Test/Mock/Library/GoogleTest/MockHobLib/MockHobL= ib.inf create mode 100644 MdePkg/Test/Mock/Library/GoogleTest/MockPeiServicesLib/= MockPeiServicesLib.cpp create mode 100644 MdePkg/Test/Mock/Library/GoogleTest/MockPeiServicesLib/= MockPeiServicesLib.inf --=20 2.39.2.windows.1