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:00 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 00/10] MsUnitTestPkg: Add Unit Test Support and sample
Cherry-picked from branch:
https://github.com/Microsoft/MS_UEFI/tree/share/XmlAndUnitTest
Commit:
https://github.com/Microsoft/MS_UEFI/commit/f2b2a2cb8f4331692297d0cab67a333714d71165
https://github.com/Microsoft/MS_UEFI/commit/928546fd6709ceff1f185ecb901e5cd4d0f82c7c
https://github.com/Microsoft/MS_UEFI/commit/d2901abfc9823c21d3a962fa69e025a92832466b
Additional updates for 32-bit systems, VS2017, GCC, safe string functions, missing DEC file declarations, missing DSC file, and EDK II 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 (7):
MsUnitTestPkg/Include: Remove use of variadic macros
MsUnitTestPkg/Library: Use safe string functions
MsUnitTestPkg/UnitTestLib: Fix GCC build errors
MsUnitTestPkg/Library: Update __FUNCTION__ usage
MsUnitTestPkg: Add missing library classes
MsUnitTestPkg: Add missing DSC file
MsUnitTestPkg: Fix EDK II style issues
Sean Brogan (3):
MsUnitTestPkg: Add Unit Test Support and sample
MsUnitTestPkg: Update copyright and license info
MsUnitTestPkg: Update for VS2017 and 32-bit apps
.../Include/Guid/MsUnitTestPkgTokenSpace.h | 33 +
MsUnitTestPkg/Include/Library/UnitTestAssertLib.h | 146 ++++ MsUnitTestPkg/Include/Library/UnitTestBootUsbLib.h | 44 +
MsUnitTestPkg/Include/Library/UnitTestLib.h | 114 +++
MsUnitTestPkg/Include/Library/UnitTestLogLib.h | 68 ++
.../Include/Library/UnitTestPersistenceLib.h | 95 +++
.../Include/Library/UnitTestResultReportLib.h | 43 +
MsUnitTestPkg/Include/UnitTestTypes.h | 221 +++++
.../Library/UnitTestAssertLib/UnitTestAssertLib.c | 318 +++++++
.../UnitTestAssertLib/UnitTestAssertLib.inf | 54 ++
.../UnitTestBootUsbClassLib/UnitTestBootUsb.c | 137 +++
.../UnitTestBootUsbClassLib.inf | 58 ++
.../UnitTestBootUsbMicrosoftLib/UnitTestBootUsb.c | 153 ++++
.../UnitTestBootUsbMicrosoftLib.inf | 57 ++
MsUnitTestPkg/Library/UnitTestLib/Md5.c | 352 ++++++++
MsUnitTestPkg/Library/UnitTestLib/Md5.h | 75 ++
MsUnitTestPkg/Library/UnitTestLib/UnitTestLib.c | 932 +++++++++++++++++++++
MsUnitTestPkg/Library/UnitTestLib/UnitTestLib.inf | 61 ++
.../Library/UnitTestLogLib/UnitTestLogLib.c | 261 ++++++
.../Library/UnitTestLogLib/UnitTestLogLib.inf | 60 ++
.../UnitTestPersistenceFileSystemLib.c | 407 +++++++++
.../UnitTestPersistenceFileSystemLib.inf | 71 ++
.../UnitTestPersistenceLibNull.c | 100 +++
.../UnitTestPersistenceLibNull.inf | 48 ++
.../UnitTestResultReportLib.c | 221 +++++
.../UnitTestResultReportLib.inf | 53 ++
MsUnitTestPkg/MsUnitTestPkg.dec | 70 ++
MsUnitTestPkg/MsUnitTestPkg.dsc | 65 ++
MsUnitTestPkg/ReadMe.md | 65 ++
.../Sample/SampleUnitTestApp/SampleUnitTestApp.c | 214 +++++
.../Sample/SampleUnitTestApp/SampleUnitTestApp.inf | 63 ++
31 files changed, 4659 insertions(+)
create mode 100644 MsUnitTestPkg/Include/Guid/MsUnitTestPkgTokenSpace.h
create mode 100644 MsUnitTestPkg/Include/Library/UnitTestAssertLib.h
create mode 100644 MsUnitTestPkg/Include/Library/UnitTestBootUsbLib.h
create mode 100644 MsUnitTestPkg/Include/Library/UnitTestLib.h
create mode 100644 MsUnitTestPkg/Include/Library/UnitTestLogLib.h
create mode 100644 MsUnitTestPkg/Include/Library/UnitTestPersistenceLib.h
create mode 100644 MsUnitTestPkg/Include/Library/UnitTestResultReportLib.h
create mode 100644 MsUnitTestPkg/Include/UnitTestTypes.h
create mode 100644 MsUnitTestPkg/Library/UnitTestAssertLib/UnitTestAssertLib.c
create mode 100644 MsUnitTestPkg/Library/UnitTestAssertLib/UnitTestAssertLib.inf
create mode 100644 MsUnitTestPkg/Library/UnitTestBootUsbClassLib/UnitTestBootUsb.c
create mode 100644 MsUnitTestPkg/Library/UnitTestBootUsbClassLib/UnitTestBootUsbClassLib.inf
create mode 100644 MsUnitTestPkg/Library/UnitTestBootUsbMicrosoftLib/UnitTestBootUsb.c
create mode 100644 MsUnitTestPkg/Library/UnitTestBootUsbMicrosoftLib/UnitTestBootUsbMicrosoftLib.inf
create mode 100644 MsUnitTestPkg/Library/UnitTestLib/Md5.c
create mode 100644 MsUnitTestPkg/Library/UnitTestLib/Md5.h
create mode 100644 MsUnitTestPkg/Library/UnitTestLib/UnitTestLib.c
create mode 100644 MsUnitTestPkg/Library/UnitTestLib/UnitTestLib.inf
create mode 100644 MsUnitTestPkg/Library/UnitTestLogLib/UnitTestLogLib.c
create mode 100644 MsUnitTestPkg/Library/UnitTestLogLib/UnitTestLogLib.inf
create mode 100644 MsUnitTestPkg/Library/UnitTestPersistenceFileSystemLib/UnitTestPersistenceFileSystemLib.c
create mode 100644 MsUnitTestPkg/Library/UnitTestPersistenceFileSystemLib/UnitTestPersistenceFileSystemLib.inf
create mode 100644 MsUnitTestPkg/Library/UnitTestPersistenceLibNull/UnitTestPersistenceLibNull.c
create mode 100644 MsUnitTestPkg/Library/UnitTestPersistenceLibNull/UnitTestPersistenceLibNull.inf
create mode 100644 MsUnitTestPkg/Library/UnitTestResultReportPlainTextOutputLib/UnitTestResultReportLib.c
create mode 100644 MsUnitTestPkg/Library/UnitTestResultReportPlainTextOutputLib/UnitTestResultReportLib.inf
create mode 100644 MsUnitTestPkg/MsUnitTestPkg.dec create mode 100644 MsUnitTestPkg/MsUnitTestPkg.dsc create mode 100644 MsUnitTestPkg/ReadMe.md create mode 100644 MsUnitTestPkg/Sample/SampleUnitTestApp/SampleUnitTestApp.c
create mode 100644 MsUnitTestPkg/Sample/SampleUnitTestApp/SampleUnitTestApp.inf
--
2.14.2.windows.3
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel