Skip to content

UnitTestFrameworkPkg: Make includes public #11176

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

trhpx
Copy link

@trhpx trhpx commented Jun 10, 2025

Description

Make private Include files public.

UnitTestBootLib.h needs to be public to allow unit tests in other Pkg to use a UnitTestBootLib implementation, and also to allow for new implementations of this LibraryClass in other Pkg

UnitTestResultReportLib.h needs to be public to allow unit tests in other Pkg to use a UnitTestResultReportLib implementation, or to allow for new implementations of this LibraryClass in other Pkg

UnitTestFrameworkTypes.h needs to be public beause it is included by UnitTestResultReportLib.h

Update UnitTestFrameworkPkg.dec to make public.

Signed-off-by: Tim Hoppen tim.hoppen@phoenixtech.com

  • Breaking change?
    • Breaking change - Does this PR cause a break in build or boot behavior?
    • Examples: Does it add a new library class or move a module to a different repo.
  • Impacts security?
    • Security - Does this PR have a direct security impact?
    • Examples: Crypto algorithm change or buffer overflow fix.
  • Includes tests?
    • Tests - Does this PR include any explicit test code?
    • Examples: Unit tests or integration tests.

How This Was Tested

Build test of UnitTestFrameworkPkg\UnitTestFrameworkPkg.dsc
No other package is able to use the affected files (this is what the PR hopes to address), so no other package testing should be needed.

Integration Instructions

N/A

Make private Include files public.

UnitTestBootLib.h needs to be public to allow unit tests in
other Pkg to use a UnitTestBootLib implementation, and also to  allow
for new implementations of this LibraryClass in other Pkg

UnitTestResultReportLib.h needs to be public to allow unit tests in
other Pkg to use a UnitTestResultReportLib implementation, or to allow
for new implementations of this LibraryClass in other Pkg

UnitTestFrameworkTypes.h needs to be public beause it is included by
UnitTestResultReportLib.h

Update UnitTestFrameworkPkg.dec to make public.

Signed-off-by: Tim Hoppen <tim.hoppen@phoenixtech.com>
@trhpx trhpx force-pushed the UnitTestFrameworkPkg-make-includes-public branch from c3e662d to ae204ce Compare June 10, 2025 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant