audk/UnitTestFrameworkPkg/Library
Zhiguang Liu 530f5b0912 UnitTestFrameworkPkg: Add UnitTestPeiServicesTablePointerLib
This library supports a PeiServicesTablePointerLib implementation
that allows code dependent upon PeiServicesTable to operate in an
isolated execution environment such as within the context of a
host-based unit test framework.

The unit test should initialize the PeiServicesTable database with
any required elements (e.g. PPIs, Hob etc.) prior to the services
being invoked by code under test.

It is strongly recommended to clean any global databases by using
EFI_PEI_SERVICES.ResetSystem2 after every unit test so the tests
execute in a predictable manner from a clean state.

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Michael Kubacki <mikuback@linux.microsoft.com>
Cc: Sean Brogan <sean.brogan@microsoft.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Signed-off-by: Zhiguang Liu <zhiguang.liu@intel.com>
2023-06-13 02:53:40 +00:00
..
CmockaLib UnitTestFrameworkPkg: Add gmock support to GoogleTestLib 2023-04-10 05:59:02 +00:00
FunctionMockLib UnitTestFrameworkPkg: Add gmock support to GoogleTestLib 2023-04-10 05:59:02 +00:00
GoogleTestLib UnitTestFrameworkPkg: Add gmock support to GoogleTestLib 2023-04-10 05:59:02 +00:00
Posix UnitTestFrameworkPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SubhookLib UnitTestFrameworkPkg: Add subhook submodule required for gmock 2023-04-10 05:59:02 +00:00
UnitTestBootLibNull UnitTestFrameworkPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
UnitTestBootLibUsbClass UnitTestFrameworkPkg: Update to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
UnitTestDebugAssertLib UnitTestFrameworkPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
UnitTestLib UnitTestFrameworkPkg: Update to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
UnitTestPeiServicesTablePointerLib UnitTestFrameworkPkg: Add UnitTestPeiServicesTablePointerLib 2023-06-13 02:53:40 +00:00
UnitTestPersistenceLibNull UnitTestFrameworkPkg: Modify APIs in UnitTestPersistenceLib 2022-12-14 13:34:33 +00:00
UnitTestPersistenceLibSimpleFileSystem UnitTestFrameworkPkg: Update to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
UnitTestResultReportLib UnitTestFrameworkPkg: Update to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
UnitTestUefiBootServicesTableLib UnitTestFrameworkPkg: Add UnitTestUefiBootServicesTableLib 2022-11-07 16:07:33 +00:00