File tree 2 files changed +3
-2
lines changed
NetworkPkg/UefiPxeBcDxe/GoogleTest
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ extern "C" {
26
26
#define PACKET_SIZE (1500 )
27
27
#define REQUEST_OPTION_LENGTH (120 )
28
28
29
+ MOCK_EFI_RNG_PROTOCOL_INSTANCE (gRngProtocol )
30
+
29
31
typedef struct {
30
32
UINT16 OptionCode; // The option code for DHCP6_OPT_SERVER_ID (e.g., 0x03)
31
33
UINT16 OptionLen; // The length of the option (e.g., 16 bytes)
@@ -490,7 +492,7 @@ class PxeBcDhcp6DiscoverTest : public ::testing::Test {
490
492
protected:
491
493
MockUefiRuntimeServicesTableLib RtServicesMock;
492
494
MockUefiBootServicesTableLib BsMock;
493
- MockRng RngMock;
495
+ MockEfiRngProtocol RngMock;
494
496
495
497
// Add any setup code if needed
496
498
virtual void
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ VERSION_STRING = 1.0
23
23
PxeBcDhcp6GoogleTest.h
24
24
../PxeBcDhcp6.c
25
25
../PxeBcSupport.c
26
- ../../../MdePkg/Test/Mock/Library/GoogleTest/Protocol/MockRng.cpp
27
26
28
27
[Packages]
29
28
MdePkg/MdePkg.dec
You can’t perform that action at this time.
0 commit comments