Failed in applying to current master (
apply log)
.gitmodules | 3 +
.pytool/CISettings.py | 2 +
.../MockUefiRuntimeServicesTableLib.inf | 6 +-
.../GoogleTest/UefiSortLibGoogleTest.cpp | 57 +
.../GoogleTest/UefiSortLibGoogleTest.inf | 31 +
MdeModulePkg/Test/MdeModulePkgHostTest.dsc | 6 +
.../VariableLockRequestToLockUnitTest.inf | 2 +-
.../Library/BaseLib/UnitTestHostBaseLib.inf | 2 +-
MdePkg/MdePkg.dec | 1 +
MdePkg/Test/MdePkgHostTest.dsc | 2 +
.../Include/GoogleTest/Library/MockUefiLib.h | 39 +
.../Library/MockUefiRuntimeServicesTableLib.h | 42 +
.../GoogleTest/MockUefiLib/MockUefiLib.cpp | 12 +
.../GoogleTest/MockUefiLib/MockUefiLib.inf | 33 +
.../MockUefiRuntimeServicesTableLib.cpp | 40 +
.../MockUefiRuntimeServicesTableLib.inf | 33 +
.../DxePrmContextBufferLibUnitTestHost.inf | 2 +-
.../DxePrmModuleDiscoveryLibUnitTestHost.inf | 2 +-
ReadMe.rst | 1 +
.../SecureBootVariableLibGoogleTest.cpp | 156 +++
.../SecureBootVariableLibGoogleTest.inf | 32 +
.../UnitTest/MockPlatformPKProtectionLib.inf | 6 +-
.../UnitTest/MockUefiLib.inf | 6 +-
.../MockUefiRuntimeServicesTableLib.inf | 6 +-
.../UnitTest/SecureBootVariableLibUnitTest.c | 172 ++-
SecurityPkg/SecurityPkg.dec | 1 +
.../Library/MockPlatformPKProtectionLib.h | 28 +
.../MockPlatformPKProtectionLib.cpp | 11 +
.../MockPlatformPKProtectionLib.inf | 34 +
SecurityPkg/Test/SecurityPkgHostTest.dsc | 8 +
.../Include/Library/FunctionMockLib.h | 131 +++
.../Include/Library/GoogleTestLib.h | 96 ++
.../Include/Library/SubhookLib.h | 15 +
.../Library/CmockaLib/CmockaLib.inf | 2 +-
.../Library/FunctionMockLib/FunctionMockLib.c | 7 +
.../FunctionMockLib/FunctionMockLib.inf | 31 +
.../FunctionMockLib/FunctionMockLib.uni | 11 +
.../Library/GoogleTestLib/GoogleTestLib.inf | 6 +-
.../Library/GoogleTestLib/GoogleTestLib.uni | 3 -
.../SubhookLib.inf} | 16 +-
.../Library/SubhookLib/SubhookLib.uni | 11 +
.../Library/SubhookLib/subhook | 1 +
UnitTestFrameworkPkg/ReadMe.md | 999 +++++++++++++++++-
.../Test/UnitTestFrameworkPkgHostTest.dsc | 2 +
.../UnitTestFrameworkPkg.ci.yaml | 7 +-
UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec | 4 +
.../UnitTestFrameworkPkgHost.dsc.inc | 2 +
47 files changed, 1960 insertions(+), 160 deletions(-)
create mode 100644 MdeModulePkg/Library/UefiSortLib/GoogleTest/UefiSortLibGoogleTest.cpp
create mode 100644 MdeModulePkg/Library/UefiSortLib/GoogleTest/UefiSortLibGoogleTest.inf
create mode 100644 MdePkg/Test/Mock/Include/GoogleTest/Library/MockUefiLib.h
create mode 100644 MdePkg/Test/Mock/Include/GoogleTest/Library/MockUefiRuntimeServicesTableLib.h
create mode 100644 MdePkg/Test/Mock/Library/GoogleTest/MockUefiLib/MockUefiLib.cpp
create mode 100644 MdePkg/Test/Mock/Library/GoogleTest/MockUefiLib/MockUefiLib.inf
create mode 100644 MdePkg/Test/Mock/Library/GoogleTest/MockUefiRuntimeServicesTableLib/MockUefiRuntimeServicesTableLib.cpp
create mode 100644 MdePkg/Test/Mock/Library/GoogleTest/MockUefiRuntimeServicesTableLib/MockUefiRuntimeServicesTableLib.inf
create mode 100644 SecurityPkg/Library/SecureBootVariableLib/GoogleTest/SecureBootVariableLibGoogleTest.cpp
create mode 100644 SecurityPkg/Library/SecureBootVariableLib/GoogleTest/SecureBootVariableLibGoogleTest.inf
create mode 100644 SecurityPkg/Test/Mock/Include/GoogleTest/Library/MockPlatformPKProtectionLib.h
create mode 100644 SecurityPkg/Test/Mock/Library/GoogleTest/MockPlatformPKProtectionLib/MockPlatformPKProtectionLib.cpp
create mode 100644 SecurityPkg/Test/Mock/Library/GoogleTest/MockPlatformPKProtectionLib/MockPlatformPKProtectionLib.inf
create mode 100644 UnitTestFrameworkPkg/Include/Library/FunctionMockLib.h
create mode 100644 UnitTestFrameworkPkg/Include/Library/SubhookLib.h
create mode 100644 UnitTestFrameworkPkg/Library/FunctionMockLib/FunctionMockLib.c
create mode 100644 UnitTestFrameworkPkg/Library/FunctionMockLib/FunctionMockLib.inf
create mode 100644 UnitTestFrameworkPkg/Library/FunctionMockLib/FunctionMockLib.uni
copy UnitTestFrameworkPkg/Library/{GoogleTestLib/GoogleTestLib.inf => SubhookLib/SubhookLib.inf} (53%)
create mode 100644 UnitTestFrameworkPkg/Library/SubhookLib/SubhookLib.uni
create mode 160000 UnitTestFrameworkPkg/Library/SubhookLib/subhook