summaryrefslogtreecommitdiffstats
path: root/UnitTestFrameworkPkg
diff options
context:
space:
mode:
authorMichael D Kinney <michael.d.kinney@intel.com>2022-11-30 13:14:09 -0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-12-01 21:01:21 +0000
commita1d57239140f09a8b2cc386f9421f6f4e634435f (patch)
tree240e573e063d89c7255ab4b53e21bc1a2a05cbd2 /UnitTestFrameworkPkg
parenta8a78ef194f4a6aaf4c178d1c545a372c94e88bb (diff)
downloadedk2-a1d57239140f09a8b2cc386f9421f6f4e634435f.tar.gz
edk2-a1d57239140f09a8b2cc386f9421f6f4e634435f.tar.bz2
edk2-a1d57239140f09a8b2cc386f9421f6f4e634435f.zip
UnitTestFrameworkPkg: Library classes private to public
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4178 * Change GoogleTestLib class from private to public. * Change UnitTestPersistenceLib class from private to public. Cc: Michael Kubacki <mikuback@linux.microsoft.com> Cc: Sean Brogan <sean.brogan@microsoft.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Zhiguang Liu <zhiguang.liu@intel.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by: Ray Ni <ray.ni@intel.com>
Diffstat (limited to 'UnitTestFrameworkPkg')
-rw-r--r--UnitTestFrameworkPkg/Include/Library/UnitTestPersistenceLib.h (renamed from UnitTestFrameworkPkg/PrivateInclude/Library/UnitTestPersistenceLib.h)0
-rw-r--r--UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec13
2 files changed, 7 insertions, 6 deletions
diff --git a/UnitTestFrameworkPkg/PrivateInclude/Library/UnitTestPersistenceLib.h b/UnitTestFrameworkPkg/Include/Library/UnitTestPersistenceLib.h
index be29e079ec..be29e079ec 100644
--- a/UnitTestFrameworkPkg/PrivateInclude/Library/UnitTestPersistenceLib.h
+++ b/UnitTestFrameworkPkg/Include/Library/UnitTestPersistenceLib.h
diff --git a/UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec b/UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec
index ed12f32009..14e387d63a 100644
--- a/UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec
+++ b/UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec
@@ -26,11 +26,16 @@
Library/CmockaLib/cmocka/include/cmockery
Library/GoogleTestLib/googletest/googletest
-[LibraryClasses.Common.Private]
+[LibraryClasses]
## @libraryclass Allows save and restore unit test internal state
#
- UnitTestPersistenceLib|PrivateInclude/Library/UnitTestPersistenceLib.h
+ UnitTestPersistenceLib|Include/Library/UnitTestPersistenceLib.h
+
+ ## @libraryclass GoogleTest infrastructure
+ #
+ GoogleTestLib|Include/Library/GoogleTestLib.h
+[LibraryClasses.Common.Private]
## @libraryclass Provides a unit test result report
#
UnitTestResultReportLib|PrivateInclude/Library/UnitTestResultReportLib.h
@@ -39,10 +44,6 @@
#
UnitTestBootLib|PrivateInclude/Library/UnitTestBootLib.h
- ## @libraryclass GoogleTest infrastructure
- #
- GoogleTestLib|Include/Library/GoogleTestLib.h
-
[Guids]
gUnitTestFrameworkPkgTokenSpaceGuid = { 0x833d3aba, 0x39b4, 0x43a2, { 0xb9, 0x30, 0x7a, 0x34, 0x53, 0x39, 0x31, 0xb3 } }