From c6ac19e5faad489ea45eb0b7f2b99e9ca8eac532 Mon Sep 17 00:00:00 2001 From: YiTa-AMI Date: Tue, 8 Oct 2024 02:06:01 +0800 Subject: [PATCH] Move MockDeviceBootManagerLib Path (#584) ## Description Change PR572 MockDeviceBootManagerLib Path to match Guideline For details on how to complete these options and their meaning refer to [CONTRIBUTING.md](https://github.com/microsoft/mu/blob/HEAD/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 --- MsCorePkg/MsCorePkg.dec | 2 +- .../Mock/Include/GoogleTest/Library/MockDeviceBootManagerLib.h | 0 .../MockDeviceBootManagerLib/MockDeviceBootManagerLib.cpp | 0 .../MockDeviceBootManagerLib/MockDeviceBootManagerLib.inf | 0 MsCorePkg/UnitTests/MsCorePkgHostTest.dsc | 2 +- 5 files changed, 2 insertions(+), 2 deletions(-) rename MsCorePkg/{UnitTests => Test}/Mock/Include/GoogleTest/Library/MockDeviceBootManagerLib.h (100%) rename MsCorePkg/{UnitTests/Mock/Library => Test/Mock/Library/GoogleTest}/MockDeviceBootManagerLib/MockDeviceBootManagerLib.cpp (100%) rename MsCorePkg/{UnitTests/Mock/Library => Test/Mock/Library/GoogleTest}/MockDeviceBootManagerLib/MockDeviceBootManagerLib.inf (100%) diff --git a/MsCorePkg/MsCorePkg.dec b/MsCorePkg/MsCorePkg.dec index 5046d9f998..72e6144e51 100644 --- a/MsCorePkg/MsCorePkg.dec +++ b/MsCorePkg/MsCorePkg.dec @@ -18,7 +18,7 @@ [Includes] Include - UnitTests/Mock/Include + Test/Mock/Include [LibraryClasses] diff --git a/MsCorePkg/UnitTests/Mock/Include/GoogleTest/Library/MockDeviceBootManagerLib.h b/MsCorePkg/Test/Mock/Include/GoogleTest/Library/MockDeviceBootManagerLib.h similarity index 100% rename from MsCorePkg/UnitTests/Mock/Include/GoogleTest/Library/MockDeviceBootManagerLib.h rename to MsCorePkg/Test/Mock/Include/GoogleTest/Library/MockDeviceBootManagerLib.h diff --git a/MsCorePkg/UnitTests/Mock/Library/MockDeviceBootManagerLib/MockDeviceBootManagerLib.cpp b/MsCorePkg/Test/Mock/Library/GoogleTest/MockDeviceBootManagerLib/MockDeviceBootManagerLib.cpp similarity index 100% rename from MsCorePkg/UnitTests/Mock/Library/MockDeviceBootManagerLib/MockDeviceBootManagerLib.cpp rename to MsCorePkg/Test/Mock/Library/GoogleTest/MockDeviceBootManagerLib/MockDeviceBootManagerLib.cpp diff --git a/MsCorePkg/UnitTests/Mock/Library/MockDeviceBootManagerLib/MockDeviceBootManagerLib.inf b/MsCorePkg/Test/Mock/Library/GoogleTest/MockDeviceBootManagerLib/MockDeviceBootManagerLib.inf similarity index 100% rename from MsCorePkg/UnitTests/Mock/Library/MockDeviceBootManagerLib/MockDeviceBootManagerLib.inf rename to MsCorePkg/Test/Mock/Library/GoogleTest/MockDeviceBootManagerLib/MockDeviceBootManagerLib.inf diff --git a/MsCorePkg/UnitTests/MsCorePkgHostTest.dsc b/MsCorePkg/UnitTests/MsCorePkgHostTest.dsc index af365fe8d6..ba231623df 100644 --- a/MsCorePkg/UnitTests/MsCorePkgHostTest.dsc +++ b/MsCorePkg/UnitTests/MsCorePkgHostTest.dsc @@ -46,7 +46,7 @@ [Components] MsCorePkg/MacAddressEmulationDxe/Test/MacAddressEmulationDxeHostTest.inf - MsCorePkg/UnitTests/Mock/Library/MockDeviceBootManagerLib/MockDeviceBootManagerLib.inf + MsCorePkg/Test/Mock/Library/GoogleTest/MockDeviceBootManagerLib/MockDeviceBootManagerLib.inf [BuildOptions] *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES