Reviewed-by: Sean Brogan <sean.brogan@microsoft.com>
-----Original Message-----
From: Kinney, Michael D [mailto:michael.d.kinney@intel.com]
Sent: Tuesday, December 19, 2017 4:16 PM
To: edk2-devel@lists.01.org
Cc: Sean Brogan <sean.brogan@microsoft.com>; Gao, Liming <liming.gao@intel.com>; Kinney, Michael D <michael.d.kinney@intel.com>
Subject: [staging/edk2-test Patch 0/2] MdePkgUnitTest: Add unit test package for MdePkg
Initial version of a unit test package for the MdePkg that uses services from the MsUnitTestPkg to implement test cases for the SafeIntLib in the MdePkg.
The initial version of these tests is from the following branch and commit:
https://github.com/Microsoft/MS_UEFI/tree/share/intsafelib/MdeModulePkg/UnitTests/IntSafeLib
https://github.com/Microsoft/MS_UEFI/commit/cc2e9d229d4e876ab64d75dee16761a297582fd9
Additional updates for CPU compatibility, CHAR8 signed/unsigned, and EDK II code style issues.
Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Kinney, Michael D (1):
MdePkgUnitTest: Fix EDK II style issues
Michael D Kinney (1):
MdePkgUnitTest: Add unit test package for MdePkg
MdePkgUnitTest/MdePkgUnitTest.dec | 20 +
MdePkgUnitTest/MdePkgUnitTest.dsc | 57 +
.../SafeIntLib/SafeIntLibUintnIntnUnitTests32.c | 54 +
.../SafeIntLib/SafeIntLibUintnIntnUnitTests64.c | 54 +
.../SafeIntLib/SafeIntLibUintnIntnUnitTestsEbc.c | 65 +
MdePkgUnitTest/SafeIntLib/SafeIntLibUnitTests.c | 3667 ++++++++++++++++++++
MdePkgUnitTest/SafeIntLib/SafeIntLibUnitTests.h | 155 +
MdePkgUnitTest/SafeIntLib/SafeIntLibUnitTests.inf | 69 +
MdePkgUnitTest/SafeIntLib/SafeIntLibUnitTests32.c | 635 ++++ MdePkgUnitTest/SafeIntLib/SafeIntLibUnitTests64.c | 639 ++++
10 files changed, 5415 insertions(+)
create mode 100644 MdePkgUnitTest/MdePkgUnitTest.dec create mode 100644 MdePkgUnitTest/MdePkgUnitTest.dsc create mode 100644 MdePkgUnitTest/SafeIntLib/SafeIntLibUintnIntnUnitTests32.c
create mode 100644 MdePkgUnitTest/SafeIntLib/SafeIntLibUintnIntnUnitTests64.c
create mode 100644 MdePkgUnitTest/SafeIntLib/SafeIntLibUintnIntnUnitTestsEbc.c
create mode 100644 MdePkgUnitTest/SafeIntLib/SafeIntLibUnitTests.c
create mode 100644 MdePkgUnitTest/SafeIntLib/SafeIntLibUnitTests.h
create mode 100644 MdePkgUnitTest/SafeIntLib/SafeIntLibUnitTests.inf
create mode 100644 MdePkgUnitTest/SafeIntLib/SafeIntLibUnitTests32.c
create mode 100644 MdePkgUnitTest/SafeIntLib/SafeIntLibUnitTests64.c
--
2.14.2.windows.3
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel