audk/UnitTestFrameworkPkg/Library/UnitTestLib
Michael D Kinney 26824851b0 UnitTestFrameworkPkg/UnitTestLib: Add checks for ASSERT()
REF: REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2801

Add UnitTestDebugAssertLib that provides the UnitTestDebugAssert()
service and the gUnitTestExpectAssertFailureJumpBuffer global
variable.  This NULL library is linked against all host and target
unit test builds.  This guarantees that the UnitTestDebugAssert()
service is available to link against all libraries and modules that
use the DebugLib class.

EDKII_UNIT_TEST_FRAMEWORK_ENABLED must always be defined when
building unit tests so the behavior of the DebugLib ASSERT()
macros can be adjusted to allow the unit test framework to
catch an ASSERT() if it is triggered by a function under test.

Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Bret Barkelew <Bret.Barkelew@microsoft.com>
2020-07-15 05:25:21 +00:00
..
Assert.c UnitTestFrameworkPkg/UnitTestLib: Add checks for ASSERT() 2020-07-15 05:25:21 +00:00
AssertCmocka.c UnitTestFrameworkPkg/UnitTestLib: Add checks for ASSERT() 2020-07-15 05:25:21 +00:00
Log.c UnitTestFrameworkPkg/UnitTestLib: Fix XCODE parenthesis issues 2020-02-11 23:41:33 +00:00
RunTests.c UnitTestFrameworkPkg/UnitTestLib: Add checks for ASSERT() 2020-07-15 05:25:21 +00:00
RunTestsCmocka.c UnitTestFrameworkPkg/UnitTestLib: Move print log into cleanup 2020-07-15 05:25:21 +00:00
UnitTestLib.c UnitTestFrameworkPkg/UnitTestLib: Update SaveFrameworkState() signature 2020-06-14 23:56:05 +00:00
UnitTestLib.inf
UnitTestLib.uni
UnitTestLibCmocka.inf
UnitTestLibCmocka.uni