MdePkg/Test: Add DevicePathLib host test module
This commit adds host-based unit tests for device path lib. Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <gaoliming@bysoft.com.cn> Cc: Zhiguang Liu <zhiguang.liu@intel.com> Signed-off-by: Mateusz Albecki <mateusz.albecki@intel.com> Reviewed-by: Michael D Kinney <Michael.d.kinney@intel.com>
This commit is contained in:
committed by
mergify[bot]
parent
96ed60dfd7
commit
0355e559c6
@@ -0,0 +1,26 @@
|
||||
/** @file
|
||||
UEFI OS based application for unit testing the DevicePathLib.
|
||||
|
||||
Copyright (c) 2023, Intel Corporation. All rights reserved.<BR>
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
**/
|
||||
|
||||
#ifndef __TEST_DEVICE_PATH_LIB_H__
|
||||
#define __TEST_DEVICE_PATH_LIB_H__
|
||||
|
||||
#include <PiPei.h>
|
||||
#include <Uefi.h>
|
||||
#include <Library/UefiLib.h>
|
||||
#include <Library/DebugLib.h>
|
||||
#include <Library/MemoryAllocationLib.h>
|
||||
#include <Library/UnitTestLib.h>
|
||||
#include <Protocol/DevicePath.h>
|
||||
#include <Library/DevicePathLib.h>
|
||||
#include <stdint.h>
|
||||
|
||||
EFI_STATUS
|
||||
CreateDevicePathStringConversionsTestSuite (
|
||||
IN UNIT_TEST_FRAMEWORK_HANDLE Framework
|
||||
);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user