diff options
author | Michael D Kinney <michael.d.kinney@intel.com> | 2022-06-20 19:52:03 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2022-11-11 05:46:51 +0000 |
commit | cef0c5c68427f4e93dc9c4135a8e60018f2307b5 (patch) | |
tree | 1496519ff0b99e3bbeeada5a6e606c651c04ef95 /UnitTestFrameworkPkg/Include | |
parent | c1b073a9dccc11fbd9fdfd69f76de6e972ad1550 (diff) | |
download | edk2-cef0c5c68427f4e93dc9c4135a8e60018f2307b5.tar.gz edk2-cef0c5c68427f4e93dc9c4135a8e60018f2307b5.tar.bz2 edk2-cef0c5c68427f4e93dc9c4135a8e60018f2307b5.zip |
UnitTestFrameworkPkg: Add googletest submodule and GoogleTestLib
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4134
Add submodule for googletest and add GoogleTestLib that is
required for GoogleTest based unit tests. Add GoogleTest
documentation to Readme.md along with a port of the sample
unit test to the GoogleTest style.
A few typos in Readme.md are also fixed.
Cc: Michael Kubacki <mikuback@linux.microsoft.com>
Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Andrew Fish <afish@apple.com>
Cc: Leif Lindholm <quic_llindhol@quicinc.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Michael Kubacki <mikuback@linux.microsoft.com>
Acked-by: Leif Lindholm <quic_llindhol@quicinc.com>
Diffstat (limited to 'UnitTestFrameworkPkg/Include')
-rw-r--r-- | UnitTestFrameworkPkg/Include/Library/GoogleTestLib.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/UnitTestFrameworkPkg/Include/Library/GoogleTestLib.h b/UnitTestFrameworkPkg/Include/Library/GoogleTestLib.h new file mode 100644 index 0000000000..ebec766d4c --- /dev/null +++ b/UnitTestFrameworkPkg/Include/Library/GoogleTestLib.h @@ -0,0 +1,14 @@ +/** @file
+ GoogleTestLib class with APIs from the googletest project
+
+ Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
+ SPDX-License-Identifier: BSD-2-Clause-Patent
+
+**/
+
+#ifndef GOOGLE_TEST_LIB_H_
+#define GOOGLE_TEST_LIB_H_
+
+#include <gtest/gtest.h>
+
+#endif
|