blob: 8024f4be297573baad815d89b321f6d928b975e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/** @file
Google Test mocks for PlatformPKProtectionLib
Copyright (c) 2022, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#ifndef MOCK_PLATFORM_PK_PROTECTION_LIB_H_
#define MOCK_PLATFORM_PK_PROTECTION_LIB_H_
#include <Library/GoogleTestLib.h>
#include <Library/FunctionMockLib.h>
extern "C" {
#include <Uefi.h>
#include <Library/PlatformPKProtectionLib.h>
}
struct MockPlatformPKProtectionLib {
MOCK_INTERFACE_DECLARATION (MockPlatformPKProtectionLib);
MOCK_FUNCTION_DECLARATION (
EFI_STATUS,
DisablePKProtection,
()
);
};
#endif
|