-
Notifications
You must be signed in to change notification settings - Fork 132
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
VivianNK
merged 8 commits into
microsoft:release/202311
from
YiTa-AMI:MockPerformanceLib
Aug 28, 2024
Merged
Add mock functions under MockUefiLib and Create Mock for CapsuleLib, PerformanceLib, MockUefiBootManagerLib and GenericMemoryTestProtocol #1111
VivianNK
merged 8 commits into
microsoft:release/202311
from
YiTa-AMI:MockPerformanceLib
Aug 28, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…PerformanceLib and GenericMemoryTestProtocol
github-actions
bot
added
the
impact:non-functional
Does not have a functional impact
label
Aug 22, 2024
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
os-d
approved these changes
Aug 22, 2024
VivianNK
approved these changes
Aug 22, 2024
MdePkg/Test/Mock/Library/GoogleTest/Protocol/MockGenericMemoryTest.cpp
Outdated
Show resolved
Hide resolved
makubacki
reviewed
Aug 22, 2024
makubacki
reviewed
Aug 22, 2024
makubacki
approved these changes
Aug 22, 2024
VivianNK
reviewed
Aug 23, 2024
VivianNK
reviewed
Aug 23, 2024
MdePkg/Test/Mock/Library/GoogleTest/MockPerformanceLib/MockPerformanceLib.cpp
Show resolved
Hide resolved
VivianNK
reviewed
Aug 23, 2024
MdePkg/Test/Mock/Library/GoogleTest/MockPerformanceLib/MockPerformanceLib.inf
Show resolved
Hide resolved
VivianNK
reviewed
Aug 23, 2024
MdeModulePkg/Test/Mock/Library/GoogleTest/MockUefiBootManagerLib/MockUefiBootManagerLib.inf
Show resolved
Hide resolved
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]>
Signed-off-by: Vivian Nowka-Keane <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
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
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
VivianNK
approved these changes
Aug 28, 2024
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
How This Was Tested
Unit tests component can call these mock functions success
Integration Instructions
N/A