mu_basecore icon indicating copy to clipboard operation
mu_basecore copied to clipboard

Add mock function into MockIoLib

Open TsunFeng opened this issue 1 year ago • 1 comments

Description

Add mock function into MockIoLib

For details on how 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

TsunFeng avatar Oct 23 '24 14:10 TsunFeng

Codecov Report

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

Project coverage is 1.59%. Comparing base (a418ed9) to head (9f36f53).

Additional details and impacted files
@@             Coverage Diff             @@
##           dev/202405    #1192   +/-   ##
===========================================
  Coverage        1.59%    1.59%           
===========================================
  Files            1449     1449           
  Lines          362722   362722           
  Branches         5632     5632           
===========================================
  Hits             5776     5776           
  Misses         356839   356839           
  Partials          107      107           
Flag Coverage Δ
MdeModulePkg 0.68% <ø> (ø)
MdePkg 5.42% <ø> (ø)
NetworkPkg 0.55% <ø> (ø)
PolicyServicePkg 30.41% <ø> (ø)
UefiCpuPkg 4.73% <ø> (ø)

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

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

codecov-commenter avatar Oct 23 '24 14:10 codecov-commenter

@TsunFeng Instead of adding the public library functions piecemeal, would it be possible to go ahead and add all the interfaces in one go? It would really clean up commit history, and make future mocks using IoLib easier.

apop5 avatar Nov 01 '24 19:11 apop5