From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web10.5614.1683679348693514151 for ; Tue, 09 May 2023 17:42:28 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=JwI7rNXs; spf=pass (domain: intel.com, ip: 192.55.52.120, mailfrom: michael.d.kinney@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1683679348; x=1715215348; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=g6e1KplWGQs7a7Cf2XHaQwQ4oOqI3w9+XsVep5j9PVM=; b=JwI7rNXstaWH6uL7n4FQENytaobT78A82inUnynY1x0e8S3n0xvLIqzD NYO5Pt1ON6J7TQGk/8dGHM+5xPVKgVCswqDWJS5Ixg9c+u/xY8hm9BIVP T715zqov4mZjV6GODiyVwgypqQ8olWFX8MgFrNfsHGkmdrYQ15Z9DGNMb bx+/78UKRyQ5yTJhXH/M5TFGNJR5doszc33TZSpVZt03jPzAdoEFWKisx qmq0lcDJV2pedsuvlAzKLsdCsEDIAw7b3E3wlHuHBbJYGf+UIYzX50stf zY3A2J9nk+7cXQrut8R1E/9WJM4UlZXv1arMmweZVvhIzgLoX5YJtuyh1 Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10705"; a="348928803" X-IronPort-AV: E=Sophos;i="5.99,263,1677571200"; d="scan'208";a="348928803" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 May 2023 17:42:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10705"; a="764091248" X-IronPort-AV: E=Sophos;i="5.99,263,1677571200"; d="scan'208";a="764091248" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga008.fm.intel.com with ESMTP; 09 May 2023 17:42:20 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Tue, 9 May 2023 17:42:20 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Tue, 9 May 2023 17:42:19 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23 via Frontend Transport; Tue, 9 May 2023 17:42:19 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.104) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.23; Tue, 9 May 2023 17:42:09 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UszjE7hTJotFawckVnykE0bx+q02A8iY7iklINJdepiUA5q0gn3QDPmz7eh4UXb0oR067eQkT1mMqQ19zCuy4z80grLQIrGDfUHn/yVDmy/VdU0IiJtHPWcYvyVzVLewB92uHOzUO2XpxuPMDunZWbzR9X2VCfq0rgDT0u7c1dnbk3SfMmlWPicRGazi8yrfA1aM+e82yFhPrQMDb92qlVI7Kcotjd5vWDiW8TS+qDCS6iQlbdYKxXkZJigZhfDv4UqcuIRwUB859P2800a8oFTn8mbw6kJHSCPtpOLe7llYe/r5seHv6szQGh0WrsNNcto6sOcvjsROQKPZjcTPUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=7pdAuFtjRIRNEug77FOboJOkXnQJyC/9vW4zB1z4p/4=; b=eWqHrAEQ5ocsB4i0nNdH8ae6ZIu0TS+HWFl8xu0fjhqj2E5cQVP6DjfeVqJWzHs2DHv3VIOpiZJHHnl+WP4TQdr1K0iehT8J/xB88hz/h9p8Dw8YMCAwapx0hppKQ4v+BFVJDxh02PokGxVn0QHeiMdNiCL5Iy1+N1xhFR15kLKoul1x4u4F6mLJVxdTyDD1lg+7RQlgvBLXcw366Q+LKx3mTAyS+R5Rwn5P1bbLyjv8xV0zYLq7x4lMZ0kA8przSzME01E0eu6YWSZfFiD5K3E4nrMS22gTMWzndm73u4J4BuwAmRJfl0dN5OeGq5DuX/foJ5nucVfwvT/1jKjqXw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from SA2PR11MB4938.namprd11.prod.outlook.com (2603:10b6:806:fb::14) by LV8PR11MB8558.namprd11.prod.outlook.com (2603:10b6:408:1ed::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.18; Wed, 10 May 2023 00:42:07 +0000 Received: from SA2PR11MB4938.namprd11.prod.outlook.com ([fe80::9ad:892d:ae85:59bc]) by SA2PR11MB4938.namprd11.prod.outlook.com ([fe80::9ad:892d:ae85:59bc%5]) with mapi id 15.20.6363.033; Wed, 10 May 2023 00:42:07 +0000 From: "Michael D Kinney" To: "Guo, Gua" , "devel@edk2.groups.io" CC: "Kinney, Michael D" Subject: Re: [edk2-devel] [PATCH v3 0/2] Add more google mock library Thread-Topic: [edk2-devel] [PATCH v3 0/2] Add more google mock library Thread-Index: AQHZggnDrPVBkSccnEGXbpeq1BfqFK9REvKggAF74oCAAB2MkA== Date: Wed, 10 May 2023 00:42:07 +0000 Message-ID: References: <20230509000340.1722-1-gua.guo@intel.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SA2PR11MB4938:EE_|LV8PR11MB8558:EE_ x-ms-office365-filtering-correlation-id: ebb29419-fd57-45af-451b-08db50ef622b x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: s5k9jo18YeVJx4Un3rM4Shdm4eOEVmg9lBPUqXGcMNYjAwlOU1tPbEF0xGeO0Vd11+iych+YMXK3Y7JckUlKAvrAcNEgkNdTPM+7+Y2bxqQew+TSHByoV+dCAXy4Rr/QKc919c9hmLCYolnD6gc2lTRrZytLb/m3cNi7bo3aEP5tz39vYbqVxBCB4/sc+ejX+gOT760U5Qb9a5M6P1jrleIS4RV+9GKgxK85JO40MIwmAbcaKli1/y9KdwOyATfdtH9LJrE0+MP9/p/ZR9u5twKMBUnQrbIra8Bl88EFC70/5eJJKnTWXqdhDNPuYjmFkNuZczaj0Fa0iOS7AHsbIojDLFEsk3wsaFH0Mu5dapp9zvO4k3raCAUfvGqhjWUsH8wGlq6geziN9w5YdQiBGPww/G2m44FK2lw/ar74jEXNW9hEZ9XWNf06xnkaOCbXHT7NXQ8dcUBjU5rbHg+iB26bY2Ql7oGNIJWPL1bQCFA/6UHUSnemmSNgSoUiZvgNoLyRPcK8abGr0+Aw0UPG81gJ/PLdwF4pFmFEMswPYhJyIWfkxjvsqEOnGrJRYBD1FtemucLbfyIJLauceMB6jbOrNuo1KaUQtwIp53r9V7z0WWIwLGQZbaigHgXU31MFXLP+W5GMmz5poHD4lmX5hw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SA2PR11MB4938.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(366004)(39860400002)(376002)(396003)(346002)(136003)(451199021)(33656002)(38100700002)(83380400001)(107886003)(110136005)(38070700005)(55016003)(316002)(82960400001)(53546011)(122000001)(9686003)(41300700001)(6506007)(26005)(8676002)(8936002)(5660300002)(52536014)(64756008)(4326008)(76116006)(66446008)(66946007)(66556008)(66476007)(86362001)(186003)(966005)(478600001)(2906002)(66899021)(71200400001)(7696005);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?St24CsVrDFjnzl7DAFoWYX5WsCGVntaPnn/Ibm5YXXMfdIVx7h+oqAGO45Cl?= =?us-ascii?Q?VpThuUDFJq7jQSdJdJY0Kk3OMm056X38EYQSXhfRPy7D2SfdFyc8dcONah/f?= =?us-ascii?Q?tau3GlDVqtZjLZZYUWtoU754T2I+gbDwox4ajXSeNNRoIC2oS85ic6KnssYf?= =?us-ascii?Q?Wd1DMWRbMqrYz+LzxREG526PGZJs+VaIF0MxfyMp+wLNM7/SZv5Bo5pZ4Ia2?= =?us-ascii?Q?p5cMiCEE3maEe2hkhV9ak0IfjJMHZtAI8DKXtJz4Jy6iLiSUYQZecRhugwZ4?= =?us-ascii?Q?FT9ug6bfkF754pwnLGjb89inZcuoruGMBqQRdIh0+UNLSYJZ665EO+seD+rU?= =?us-ascii?Q?fv37re15gbM942WwE/gBewb/4rLNE7OjNlTq8vXhb0S/ZZ0d5ia1799wJeM4?= =?us-ascii?Q?ltguMom4jIvQLwV4YYavao9JQr9EOQSJ6VijexKnSXV9esOgeU0HNADlWmca?= =?us-ascii?Q?3vwwLHCOCQTo6CcKKNnu3lYvPpT4MI4Jzfo0Ca6G1c6aJ2QgQze5OcUFIoEw?= =?us-ascii?Q?Wb2LH/dsNBzYKqZDqZJ1fMhN7t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-ascii?Q?5CoYXSyNaTnYwBOtmbW1cQSUTfiHYTUMsUPJfp2Zypt83qdL4SqCpmpR2po9?= =?us-ascii?Q?fSa491W9x4E4DeJwO4p6WJxHx2QxQRCa+CnFPnK+KVY/6NmtM3Nt3s3ToTve?= =?us-ascii?Q?kkKI9xZoSpJ/snJcDxDOxsge+M9JAki1MteGP1ZXBQaUhR6CHusUUQ5dCX35?= =?us-ascii?Q?KA=3D=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA2PR11MB4938.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ebb29419-fd57-45af-451b-08db50ef622b X-MS-Exchange-CrossTenant-originalarrivaltime: 10 May 2023 00:42:07.7422 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: zzetIiCnl/K1pu7T/UzNEptbeMl7mabiBKJ6Jq7LaTehP0336LRW15WAeB3vGkF0pVV48mQSz+qhNVd4FFJfHVZ3S0/hhUghCZouJ2EagCM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV8PR11MB8558 Return-Path: michael.d.kinney@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Merged Mike > -----Original Message----- > From: Guo, Gua > Sent: Tuesday, May 9, 2023 3:56 PM > To: Kinney, Michael D ; devel@edk2.groups.io > Subject: RE: [edk2-devel] [PATCH v3 0/2] Add more google mock library >=20 > Add Reviewed-by message on > https://github.com/tianocore/edk2/pull/4335/commits >=20 > Wait for push label. It can be checked in. >=20 > -----Original Message----- > From: Kinney, Michael D > Sent: Tuesday, May 9, 2023 8:17 AM > To: devel@edk2.groups.io; Guo, Gua > Cc: Kinney, Michael D > Subject: RE: [edk2-devel] [PATCH v3 0/2] Add more google mock library >=20 > Series Reviewed-by: Michael D Kinney >=20 > Mike >=20 > > -----Original Message----- > > From: devel@edk2.groups.io On Behalf Of Guo, > > Gua > > Sent: Monday, May 8, 2023 5:04 PM > > To: devel@edk2.groups.io > > Cc: Guo, Gua > > Subject: [edk2-devel] [PATCH v3 0/2] Add more google mock library > > > > From: Gua Guo > > > > Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4443 > > > > PR: https://github.com/tianocore/edk2/pull/4335 > > > > V3 > > Remove EBC and fix some coding rule > > > > 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 | 32 +++ > > 12 files changed, 567 insertions(+) > > create mode 100644 > > > MdeModulePkg/Test/Mock/Include/GoogleTest/Library/MockPciHostBridgeLib > > .h > > create mode 100644 > > > MdeModulePkg/Test/Mock/Library/GoogleTest/MockPciHostBridgeLib/MockP > > ciHostBridgeLib.cpp > > create mode 100644 > > > MdeModulePkg/Test/Mock/Library/GoogleTest/MockPciHostBridgeLib/MockP > > ciHostBridgeLib.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/MockPeiServices > > Li > > b.cpp > > create mode 100644 > > MdePkg/Test/Mock/Library/GoogleTest/MockPeiServicesLib/MockPeiServices > > Li > > b.inf > > > > -- > > 2.39.2.windows.1 > > > > > > > >=20 > >