NetworkPkg: Use Library/GoogleTestLib.h

Update unit tests to use GoogleTestLib.h instead
of gtest.h so the edk2 extensions for google tests
are always available.

Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
This commit is contained in:
Michael D Kinney
2025-06-19 21:09:09 -07:00
committed by mergify[bot]
parent 953b9d0e57
commit 36a71d088b
5 changed files with 5 additions and 5 deletions

View File

@ -4,7 +4,7 @@
Copyright (c) Microsoft Corporation
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <gtest/gtest.h>
#include <Library/GoogleTestLib.h>
////////////////////////////////////////////////////////////////////////////////
// Run the tests

View File

@ -4,7 +4,7 @@
Copyright (c) Microsoft Corporation
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <gtest/gtest.h>
#include <Library/GoogleTestLib.h>
extern "C" {
#include <Uefi.h>

View File

@ -4,7 +4,7 @@
Copyright (c) Microsoft Corporation
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <gtest/gtest.h>
#include <Library/GoogleTestLib.h>
////////////////////////////////////////////////////////////////////////////////
// Run the tests

View File

@ -4,7 +4,7 @@
Copyright (c) Microsoft Corporation
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <gtest/gtest.h>
#include <Library/GoogleTestLib.h>
extern "C" {
#include <Uefi.h>

View File

@ -3,7 +3,7 @@
Copyright (c) Microsoft Corporation
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <gtest/gtest.h>
#include <Library/GoogleTestLib.h>
////////////////////////////////////////////////////////////////////////////////
// Run the tests