Skip to content
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

Add mock functions under MockUefiLib and Create Mock for CapsuleLib, PerformanceLib, MockUefiBootManagerLib and GenericMemoryTestProtocol #1111

Merged
merged 8 commits into from
Aug 28, 2024

Conversation

YiTa-AMI
Copy link
Contributor

Description

Add mock functions under MockUefiLib and Create Mock for CapsuleLib, PerformanceLib and GenericMemoryTestProtocol

For details on how to complete to complete these options and their meaning refer to CONTRIBUTING.md.

  • Impacts functionality?
  • Impacts security?
  • Breaking change?
  • Includes tests?
  • Includes documentation?

How This Was Tested

Unit tests component can call these mock functions success

Integration Instructions

N/A

…PerformanceLib and GenericMemoryTestProtocol
@github-actions github-actions bot added the impact:non-functional Does not have a functional impact label Aug 22, 2024
@YiTa-AMI
Copy link
Contributor Author

Hi @VivianNK , @apop5 and @os-d
Would you kindly help review this change?
Thanks,
YiTa

@YiTa-AMI YiTa-AMI changed the title Add mock functions under MockUefiLib and Create Mock for CapsuleLib, PerformanceLib and GenericMemoryTestProtocol Add mock functions under MockUefiLib and Create Mock for CapsuleLib, PerformanceLib, MockUefiBootManagerLib and GenericMemoryTestProtocol Aug 22, 2024
VivianNK and others added 3 commits August 27, 2024 12:44
Co-authored-by: Michael Kubacki <[email protected]>
Signed-off-by: Vivian Nowka-Keane <[email protected]>
Co-authored-by: Michael Kubacki <[email protected]>
Signed-off-by: Vivian Nowka-Keane <[email protected]>
@codecov-commenter
Copy link

codecov-commenter commented Aug 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 1.35%. Comparing base (a6e05a7) to head (d47efd4).

Additional details and impacted files
@@                Coverage Diff                 @@
##           release/202311    #1111      +/-   ##
==================================================
+ Coverage            1.06%    1.35%   +0.28%     
==================================================
  Files                1303     1303              
  Lines              332238   333838    +1600     
  Branches             5103     5103              
==================================================
+ Hits                 3547     4512     +965     
- Misses             328204   329243    +1039     
+ Partials              487       83     -404     
Flag Coverage Δ
MdeModulePkg 0.68% <ø> (ø)
MdePkg 5.40% <ø> (+2.12%) ⬆️
NetworkPkg 0.55% <ø> (ø)
PolicyServicePkg 30.41% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@VivianNK VivianNK merged commit 750b5cd into microsoft:release/202311 Aug 28, 2024
31 checks passed
@YiTa-AMI YiTa-AMI deleted the MockPerformanceLib branch September 5, 2024 09:01
VivianNK added a commit to VivianNK/mu_basecore that referenced this pull request Oct 11, 2024
…PerformanceLib, MockUefiBootManagerLib and GenericMemoryTestProtocol (microsoft#1111)

Add mock functions under MockUefiLib and Create Mock for CapsuleLib,
PerformanceLib and GenericMemoryTestProtocol

- [ ] Impacts functionality?
- [ ] Impacts security?
- [ ] Breaking change?
- [ ] Includes tests?
- [ ] Includes documentation?

Unit tests component can call these mock functions success

N/A

---------

Signed-off-by: Vivian Nowka-Keane <[email protected]>
Co-authored-by: Michael Kubacki <[email protected]>
Co-authored-by: Vivian Nowka-Keane <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact:non-functional Does not have a functional impact
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants