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 AcpiTable, FirmwareVolume2 and AcpiSystemDescriptionTable protocol #1106

Open
wants to merge 18 commits into
base: dev/202405
Choose a base branch
from

Conversation

TsunFeng
Copy link
Contributor

Description

Add mock functions under MockUefiLib and Create Mock for AcpiTable, FirmwareVolume2 and AcpiSystemDescriptionTable protocol

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

@github-actions github-actions bot added impact:non-functional Does not have a functional impact impact:testing Affects testing labels Aug 14, 2024
@TsunFeng

This comment was marked as outdated.

@codecov-commenter
Copy link

codecov-commenter commented Aug 14, 2024

Codecov Report

Attention: Patch coverage is 0% with 7 lines in your changes missing coverage. Please review.

Project coverage is 1.59%. Comparing base (23f8354) to head (2e32b09).

Files with missing lines Patch % Lines
NetworkPkg/UefiPxeBcDxe/PxeBcImpl.c 0.00% 7 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff               @@
##           dev/202405    #1106      +/-   ##
==============================================
- Coverage        1.59%    1.59%   -0.01%     
==============================================
  Files            1448     1448              
  Lines          362490   362500      +10     
  Branches         5632     5632              
==============================================
  Hits             5776     5776              
- Misses         356607   356617      +10     
  Partials          107      107              
Flag Coverage Δ
MdeModulePkg 0.68% <ø> (ø)
MdePkg 5.42% <ø> (ø)
NetworkPkg 0.55% <0.00%> (-0.01%) ⬇️
PolicyServicePkg 30.41% <ø> (ø)
UefiCpuPkg 4.73% <ø> (ø)

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.

@TsunFeng TsunFeng requested a review from VivianNK August 28, 2024 10:23
@VivianNK VivianNK requested a review from apop5 August 28, 2024 18:26
@TsunFeng

This comment was marked as resolved.

…27.12 (microsoft#1133)

Updates the requirements on
[edk2-pytool-extensions](https://github.com/tianocore/edk2-pytool-extensions)
to permit the latest version.

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@TsunFeng

This comment was marked as resolved.

apop5 and others added 2 commits September 10, 2024 15:49
Includes changes across the repo for the following CodeQL rules:
- cpp/comparison-with-wider-type
- cpp/overflow-buffer
- cpp/redundant-null-check-param
- cpp/uselesstest

Co-authored-by: Taylor Beebe <tabeebe@microsoft.com>
Co-authored-by: pohanch <125842322+pohanch@users.noreply.github.com>
Co-authored-by: kenlautner <85201046+kenlautner@users.noreply.github.com>
Co-authored-by: Oliver Smith-Denny <osde@linux.microsoft.com>
Co-authored-by: Sean Brogan <sean.brogan@microsoft.com>
Co-authored-by: Aaron <105021049+apop5@users.noreply.github.com>
@TsunFeng

This comment was marked as resolved.

@VivianNK

This comment was marked as resolved.

## Description

Add mocks from 2311

Cherry picked and squashed the following commits:
a5ba951
5aa1be5

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

## How This Was Tested

Tested in 202311 CI

## Integration Instructions

N/A

Signed-off-by: Vivian Nowka-Keane <vnowkakeane@microsoft.com>
Co-authored-by: v-sbolisetti <v-sbolisetti@microsoft.com>
Co-authored-by: YiTa-AMI <v-yitawu@microsoft.com>
@TsunFeng TsunFeng changed the base branch from release/202311 to dev/202405 September 13, 2024 01:55
@github-actions github-actions bot added the language:python Pull requests that update Python code label Sep 13, 2024
@TsunFeng TsunFeng changed the base branch from dev/202405 to release/202311 September 13, 2024 02:24
@github-actions github-actions bot removed the language:python Pull requests that update Python code label Sep 13, 2024
TsunFeng and others added 8 commits September 13, 2024 11:04
…irmwareVolume2 and AcpiSystemDescriptionTable protocol
…criptionTable.h

Co-authored-by: Michael Kubacki <michael.kubacki@microsoft.com>
Signed-off-by: TsunFeng <v-tshuang@microsoft.com>
…criptionTable.h

Co-authored-by: Michael Kubacki <michael.kubacki@microsoft.com>
Signed-off-by: TsunFeng <v-tshuang@microsoft.com>
Co-authored-by: Aaron <105021049+apop5@users.noreply.github.com>
Signed-off-by: Vivian Nowka-Keane <vnowkakeane@microsoft.com>
@TsunFeng TsunFeng force-pushed the personal/TsunFeng/NuvotonSioAcpiGT branch from 8cd3cbd to aea842e Compare September 13, 2024 05:35
@TsunFeng TsunFeng changed the base branch from release/202311 to release/202405 September 13, 2024 05:36
@github-actions github-actions bot added the language:python Pull requests that update Python code label Sep 13, 2024
@github-actions github-actions bot removed the language:python Pull requests that update Python code label Sep 13, 2024
@TsunFeng

This comment was marked as resolved.

uefibot and others added 2 commits September 13, 2024 14:25
…icrosoft#1135)

synced local file(s) with
[microsoft/mu_devops](https://github.com/microsoft/mu_devops).

🤖: View the [Repo File Sync Configuration
File](https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml)
to see how files are synced.

---

This PR was created automatically by the
[repo-file-sync-action](https://github.com/BetaHuhn/repo-file-sync-action)
workflow run
[#10846265775](https://github.com/microsoft/mu_devops/actions/runs/10846265775)

Signed-off-by: Project Mu UEFI Bot <uefibot@microsoft.com>
@VivianNK

This comment was marked as resolved.

@TsunFeng TsunFeng changed the base branch from release/202405 to dev/202405 September 19, 2024 01:48
@TsunFeng

This comment was marked as resolved.

@VivianNK VivianNK self-assigned this Sep 20, 2024
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 impact:testing Affects testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants