edk2/UnitTestFrameworkPkg/Include/Library
Michael D Kinney 81a7efddd5 UnitTestFrameworkPkg/Include: Update GoogleTestLib for CLANG
Update GoogleTestLib.h to support Windows/CLANGPDB build.
When using Windows/CLANGPDB, _MSC_VER is not defined. If
it is not defined, then set to 1900 for Visual Studio 2015
or newer compatibility when using windows include files for
host based unit test application builds. If _MSC_VER is not
set, then those application fail to build.

Also address a Windows/CLANG issue when ASAN is enabled
by providing an alternate implementation of the
EXPECT_THROW_MESSAGE() and ASSERT_THROW_MESSAGE() macros.
Without this alternate implementation, an exception is
generated due to the description of the ASSERT() condition
being NULL.

Update all implementations of EXPECT_THROW_MESSAGE() and
ASSERT_THROW_MESSAGE() to support parameters to the
statement executed to return values.

Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
2025-09-28 23:38:21 +00:00
..
FunctionMockLib.h UnitTestFrameworkPkg: Add gmock support to GoogleTestLib 2023-04-10 05:59:02 +00:00
GoogleTestLib.h UnitTestFrameworkPkg/Include: Update GoogleTestLib for CLANG 2025-09-28 23:38:21 +00:00
HostMemoryAllocationBelowAddressLib.h UnitTestFrameworkPkg/MemoryAllocationLibPosix: Add allocate below address 2025-01-21 05:02:38 +00:00
SubhookLib.h UnitTestFrameworkPkg: Add subhook submodule required for gmock 2023-04-10 05:59:02 +00:00
UnitTestPersistenceLib.h UnitTestFrameworkPkg: Modify APIs in UnitTestPersistenceLib 2022-12-14 13:34:33 +00:00