Skip to content

Commit

Permalink
MdeModulePkg: Use proper MockUefiRuntimeServicesTableLib
Browse files Browse the repository at this point in the history
For DxeResetSystemLibUnitTestHost, use mock from MdePkg.

Co-authored-by: Vivian Nowka-Keane <[email protected]>
Co-authored-by: Bret Barkelew <[email protected]>
  • Loading branch information
VivianNK and Bret Barkelew committed Jul 10, 2024
1 parent a89566c commit 48b0d94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MdeModulePkg/Test/MdeModulePkgHostTest.dsc
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@
SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf

[Components]
MdeModulePkg/Library/DxeResetSystemLib/UnitTest/MockUefiRuntimeServicesTableLib.inf
# MdeModulePkg/Library/DxeResetSystemLib/UnitTest/MockUefiRuntimeServicesTableLib.inf # MU_CHANGE - Move lib to correct home

#
# Build MdeModulePkg HOST_APPLICATION Tests
#
MdeModulePkg/Library/DxeResetSystemLib/UnitTest/DxeResetSystemLibUnitTestHost.inf {
<LibraryClasses>
ResetSystemLib|MdeModulePkg/Library/DxeResetSystemLib/DxeResetSystemLib.inf
UefiRuntimeServicesTableLib|MdeModulePkg/Library/DxeResetSystemLib/UnitTest/MockUefiRuntimeServicesTableLib.inf
UefiRuntimeServicesTableLib|MdePkg/Test/Mock/Library/Cmocka/MockUefiRuntimeServicesTableLib/MockUefiRuntimeServicesTableLib.inf
}

MdeModulePkg/Universal/Variable/RuntimeDxe/RuntimeDxeUnitTest/VariableLockRequestToLockUnitTest.inf {
Expand Down

0 comments on commit 48b0d94

Please sign in to comment.