Skip to content

Conversation

@VivianNK
Copy link
Contributor

@VivianNK VivianNK commented Sep 25, 2024

Description

PR #1106 pulled in other commits from release/202405. This reverts the PR's merge commit and cherry-picks the original commits.

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

How This Was Tested

Tested in release/2311 and dev/202405

Integration Instructions

N/A

TsunFeng and others added 2 commits September 25, 2024 14:59
…irmwareVolume2 and AcpiSystemDescriptionTable protocol (microsoft#1106)

## Description

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

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

## How This Was Tested

Unit tests component can call these mock functions success

## Integration Instructions

N/A

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Ethan Hsu <[email protected]>
Signed-off-by: Vivian Nowka-Keane <[email protected]>
Signed-off-by: TsunFeng <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aaron Pop <[email protected]>
Co-authored-by: Michael Kubacki <[email protected]>
Co-authored-by: Taylor Beebe <[email protected]>
Co-authored-by: pohanch <[email protected]>
Co-authored-by: kenlautner <[email protected]>
Co-authored-by: Oliver Smith-Denny <[email protected]>
Co-authored-by: Sean Brogan <[email protected]>
Co-authored-by: Aaron <[email protected]>
Co-authored-by: yhsu3 <[email protected]>
Co-authored-by: Vivian Nowka-Keane <[email protected]>
Co-authored-by: v-sbolisetti <[email protected]>
Co-authored-by: YiTa-AMI <[email protected]>
…Table, FirmwareVolume2 and AcpiSystemDescriptionTable protocol (microsoft#1106)"

This reverts commit 456eada.
@github-actions github-actions bot added the impact:non-functional Does not have a functional impact label Sep 25, 2024
@VivianNK VivianNK changed the title Revert #1106 Add Mocks Revert #1106 Add Mocks extra commit Sep 25, 2024
@VivianNK VivianNK changed the title Revert #1106 Add Mocks extra commit [Rebase & FF] Revert #1106 Add Mocks extra commit Sep 25, 2024
@VivianNK VivianNK force-pushed the personal/vnowkakeane/mocks-revert branch from 4cfa08a to ef53d8b Compare September 25, 2024 23:28
@VivianNK VivianNK changed the title [Rebase & FF] Revert #1106 Add Mocks extra commit [Rebase & FF] Revert #1106 Add Mocks and clean up history Sep 25, 2024
@VivianNK VivianNK requested a review from os-d September 25, 2024 23:30
@codecov-commenter
Copy link

codecov-commenter commented Sep 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 1.59%. Comparing base (456eada) to head (ef53d8b).

Additional details and impacted files
@@             Coverage Diff             @@
##           dev/202405    #1162   +/-   ##
===========================================
  Coverage        1.59%    1.59%           
===========================================
  Files            1448     1448           
  Lines          362501   362491   -10     
  Branches         5632     5632           
===========================================
  Hits             5776     5776           
+ Misses         356618   356608   -10     
  Partials          107      107           
Flag Coverage Δ
MdeModulePkg 0.68% <ø> (ø)
NetworkPkg 0.55% <ø> (+<0.01%) ⬆️

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 requested a review from apop5 September 26, 2024 20:28
@VivianNK VivianNK enabled auto-merge (rebase) September 26, 2024 20:28
@VivianNK VivianNK disabled auto-merge September 26, 2024 20:32
@VivianNK VivianNK changed the title [Rebase & FF] Revert #1106 Add Mocks and clean up history [Rebase & FF] Revert #1106 Add Clean up history to match release/202405 Sep 26, 2024
apop5 and others added 5 commits September 26, 2024 13:50
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 <[email protected]>
Co-authored-by: pohanch <[email protected]>
Co-authored-by: kenlautner <[email protected]>
Co-authored-by: Oliver Smith-Denny <[email protected]>
Co-authored-by: Sean Brogan <[email protected]>
Co-authored-by: Aaron <[email protected]>
Report PXE error status via Status Code, with this design,
it will be flexible to register a status code handler
via gEfiRscHandlerProtocolGuid to output the customized error code
to other telemetry service.

The subclass code is `EFI_IO_BUS_IP_NETWORK`

Signed-off-by: Ethan Hsu <[email protected]>
Add mocks from 2405

Cherry picked the following commit:
ba672c3

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

Tested in 202311 CI

N/A

Signed-off-by: Vivian Nowka-Keane <[email protected]>
Co-authored-by: v-sbolisetti <[email protected]>
Co-authored-by: YiTa-AMI <[email protected]>
Description
Create mock for AcpiTable, FirmwareVolume2 and AcpiSystemDescriptionTable
protocols.

Signed-off-by: Vivian Nowka-Keane <[email protected]>
@VivianNK VivianNK force-pushed the personal/vnowkakeane/mocks-revert branch from ef53d8b to 672000f Compare September 26, 2024 20:51
@VivianNK VivianNK changed the title [Rebase & FF] Revert #1106 Add Clean up history to match release/202405 [Rebase & FF] Revert #1106 Clean up history to match release/202405 Sep 26, 2024
@VivianNK VivianNK closed this Sep 26, 2024
@VivianNK VivianNK deleted the personal/vnowkakeane/mocks-revert branch September 26, 2024 22:46
@VivianNK VivianNK restored the personal/vnowkakeane/mocks-revert branch September 26, 2024 22:46
@VivianNK VivianNK deleted the personal/vnowkakeane/mocks-revert branch September 26, 2024 22:46
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.

7 participants