microsoft / mu_feature_config

Project Mu - Feature Repo - UEFI User Config and Management Support
https://microsoft.github.io/mu/
Other
20 stars 27 forks source link

Add ConfigKnobShim GoogleTests #254

Closed VivianNK closed 12 months ago

VivianNK commented 1 year ago

Description

Original PR: https://github.com/microsoft/mu_feature_config/pull/200

Google Tests for ConfigKnobShimDxeLib and ConfigKnobShimPeiLib ConfigKnobShimPeiLib is consuming the PPI mock from mu_basecore (https://github.com/microsoft/mu_basecore/pull/579), so merging this is pending the mu_basecore PR being merged. Pipelines will fail in the meantime.

How This Was Tested

Ran the tests using stuart_ci_build.

Integration Instructions

N/A

codecov-commenter commented 1 year ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (6666855) 27.39% compared to head (9812a26) 27.39%.

:exclamation: Current head 9812a26 differs from pull request most recent head a9fad3e. Consider uploading reports for the commit a9fad3e to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #254 +/- ## ======================================= Coverage 27.39% 27.39% ======================================= Files 16 16 Lines 4552 4552 ======================================= Hits 1247 1247 Misses 3305 3305 ``` | [Flag](https://app.codecov.io/gh/microsoft/mu_feature_config/pull/254/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft) | Coverage Δ | | |---|---|---| | [Linux](https://app.codecov.io/gh/microsoft/mu_feature_config/pull/254/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft) | `27.39% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.