audk/MdePkg/Include
Bret Barkelew b238ce28f8 MdePkg/Include/Library: Add UnitTestLib class
https://bugzilla.tianocore.org/show_bug.cgi?id=2505

Add UnitTestLib class to MdePkg that provides services
and macros to implement unit tests.  These services and
macros support the following features:

* Create a Unit Test Framework
* Add a Unit Test Suite to a Unit Test Framework
  + Support optional step that executes before a Unit
    Test Suite is started.
  + Support optional step that executes after a Unit
    Test Suite is finished.
* Add a Unit Test to a Unit Test Suite
  + Support optional step that executes before a Unit
    Test is started.
  + Support optional step that executes after a Unit
    Test is finished.
* Run all unit tests added to a Unit Test Framework
* Save Unit Test Framework state to persistent storage
* Support assertion checks in a unit test for TRUE, FALSE,
  EQUAL, MEM_EQUAL, NOT_EFI_ERROR, STATUS_EQUAL, and NOT_NULL.
* Support generation of log messages at ERROR, WARN, INFO,
  and VERBOSE levels.

Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Bret Barkelew <Bret.Barkelew@microsoft.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
2020-02-07 19:18:53 +00:00
..
AArch64 MdePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:13 -07:00
Arm MdePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:13 -07:00
Ebc MdePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:13 -07:00
Guid MdePkg: Add definition for Fmp Capsule Dependency. 2020-01-19 02:47:47 +00:00
Ia32 MdePkg Base.h: Use correct style to check macro _MSC_VER value 2020-02-06 09:12:07 +00:00
IndustryStandard MdePkg: Add header file for Firmware Interface Table specification. 2020-01-10 06:20:42 +00:00
Library MdePkg/Include/Library: Add UnitTestLib class 2020-02-07 19:18:53 +00:00
Pi MdePkg: Add new MM MP Protocol definition. 2019-07-16 11:54:55 +08:00
Ppi MdePkg: Add MmAccess and MmControl definition. 2019-08-13 17:07:12 +08:00
Protocol MdePkg: Add definition for Fmp Capsule Dependency. 2020-01-19 02:47:47 +00:00
Register UefiCpuPkg|MdePkg: Move Register/ folder to MdePkg/Include/ 2019-08-09 08:52:09 +08:00
Uefi MdePkg-UefiSpec.h: Add UEFI 2.8 new memory attributes 2019-11-04 08:53:53 +08:00
X64 MdePkg Base.h: Use correct style to check macro _MSC_VER value 2020-02-06 09:12:07 +00:00
Base.h MdePkg Base.h: Use correct style to check macro _MSC_VER value 2020-02-06 09:12:07 +00:00
PiDxe.h MdePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:13 -07:00
PiMm.h MdePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:13 -07:00
PiPei.h MdePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:13 -07:00
PiSmm.h MdePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:13 -07:00
Uefi.h MdePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:13 -07:00