audk/MdePkg/Test/Mock/Include/GoogleTest/Library/MockReportStatusCodeLib.h
v-chhsieh 6e197a8ba5 MdePkg: Add Google Test Library and Protocol
Mock Libraries:
 MdePkg\Test\Mock\Library\GoogleTest\MockCpuLib
 MdePkg\Test\Mock\Library\GoogleTest\MockPciSegmentLib
 MdePkg\Test\Mock\Library\GoogleTest\MockReportStatusCodeLib
 MdePkg\Test\Mock\Library\GoogleTest\MockSmmServicesTableLib

Mock Protocol:
 MdePkg\Test\Mock\Include\GoogleTest\Protocol\MockMpService.h

Signed-off-by: jack Hsieh <v-chhsieh@microsoft.com>
Cc: Maintainer Shruti Gupta <shrugupt@microsoft.com>
Cc: Reviewer   Shruti Gupta <shrugupt@microsoft.com>
2024-10-17 17:03:15 +00:00

30 lines
654 B
C

/** @file MockReportStatusCodeLib.h
Google Test mocks for ReportStatusCodeLib
Copyright (c) Microsoft Corporation.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#ifndef MOCK_REPORT_STATUS_CODE_LIB_H_
#define MOCK_REPORT_STATUS_CODE_LIB_H_
#include <Library/GoogleTestLib.h>
#include <Library/FunctionMockLib.h>
extern "C" {
#include <Uefi.h>
#include <Library/ReportStatusCodeLib.h>
}
struct MockReportStatusCodeLib {
MOCK_INTERFACE_DECLARATION (MockReportStatusCodeLib);
MOCK_FUNCTION_DECLARATION (
BOOLEAN,
ReportProgressCodeEnabled,
()
);
};
#endif //MOCK_REPORT_STATUS_CODE_LIB_H_