MdePkg/Test: Add google tests for BaseLib
Add GoogleTestBaseLib, which contains gtest unit tests for BaseLib. For now, only add checksum tests for CRC32C and CRC16; these tests check for correctness on various inputs using precomputed hashes. Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Zhiguang Liu <zhiguang.liu@intel.com> Signed-off-by: Pedro Falcato <pedro.falcato@gmail.com> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
This commit is contained in:
committed by
mergify[bot]
parent
e2d4f75913
commit
3e133f730b
@@ -20,6 +20,7 @@
|
||||
!include UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc
|
||||
|
||||
[LibraryClasses]
|
||||
BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
|
||||
SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
|
||||
DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibBase.inf
|
||||
|
||||
@@ -31,6 +32,10 @@
|
||||
MdePkg/Test/UnitTest/Library/BaseLib/BaseLibUnitTestsHost.inf
|
||||
MdePkg/Test/GoogleTest/Library/BaseSafeIntLib/GoogleTestBaseSafeIntLib.inf
|
||||
MdePkg/Test/UnitTest/Library/DevicePathLib/TestDevicePathLibHost.inf
|
||||
#
|
||||
# BaseLib tests
|
||||
#
|
||||
MdePkg/Test/GoogleTest/Library/BaseLib/GoogleTestBaseLib.inf
|
||||
|
||||
#
|
||||
# Build HOST_APPLICATION Libraries
|
||||
|
Reference in New Issue
Block a user