EmbeddedPkg: Add DtPlatformLoaderLib gmock support

Add Google Mock Library for DtPlatformLoaderDtbLib

Signed-off-by: Jeff Brasen <jbrasen@nvidia.com>
This commit is contained in:
Jeff Brasen via groups.io
2023-12-28 12:47:08 -08:00
committed by mergify[bot]
parent 5804e94886
commit 7a5823f85b
4 changed files with 74 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
/** @file
Google Test mocks for MockDtPlatformDtbLoaderLib
Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
Copyright (c) 2023, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <GoogleTest/Library/MockDtPlatformDtbLoaderLib.h>
MOCK_INTERFACE_DEFINITION (MockDtPlatformDtbLoaderLib);
MOCK_FUNCTION_DEFINITION (MockDtPlatformDtbLoaderLib, DtPlatformLoadDtb, 2, EFIAPI);