diff options
author | Michael D Kinney <michael.d.kinney@intel.com> | 2020-06-10 18:14:39 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-07-15 05:25:21 +0000 |
commit | 5d29e2d020e8b0ad70f3f766c38429c3bfad0d41 (patch) | |
tree | 2994c6fbef57594fd736ea44af689b5773cfdb19 /EmulatorPkg/EmulatorPkg.dec | |
parent | 9a6c4ac68e3d9590cf17914e07e929a1f0e7c190 (diff) | |
download | edk2-5d29e2d020e8b0ad70f3f766c38429c3bfad0d41.tar.gz edk2-5d29e2d020e8b0ad70f3f766c38429c3bfad0d41.tar.bz2 edk2-5d29e2d020e8b0ad70f3f766c38429c3bfad0d41.zip |
UnitTestFramewokPkg/SampleUnitTest: Use UT_EXPECT_ASSERT_FAILURE()
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2801
Add samples for all UnitTestLib macros including using
UT_EXPECT_ASSERT_FAILURE() for positive test cases where an
ASSERT() is triggered and detected correctly.
Additional test cases are added that disable ASSERT()s and
verify that UT_EXPECT_ASSERT_FAILURE() macros are skipped.
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>
Diffstat (limited to 'EmulatorPkg/EmulatorPkg.dec')
0 files changed, 0 insertions, 0 deletions