From 9c0d130168936120b4ed1953d041db86d7f362de Mon Sep 17 00:00:00 2001 From: Protobuf Team Bot Date: Mon, 26 Feb 2024 06:07:40 -0800 Subject: [PATCH] Automated Code Change PiperOrigin-RevId: 610384942 --- src/google/protobuf/io/zero_copy_stream_unittest.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/google/protobuf/io/zero_copy_stream_unittest.cc b/src/google/protobuf/io/zero_copy_stream_unittest.cc index 504c2c40ff..453c825be1 100644 --- a/src/google/protobuf/io/zero_copy_stream_unittest.cc +++ b/src/google/protobuf/io/zero_copy_stream_unittest.cc @@ -45,7 +45,6 @@ #include "google/protobuf/stubs/common.h" #include "google/protobuf/testing/file.h" #include "google/protobuf/testing/file.h" -#include "google/protobuf/testing/googletest.h" #include #include "absl/log/absl_check.h" #include "absl/log/absl_log.h" @@ -1403,7 +1402,7 @@ TEST_F(IoTest, CordOutputBufferEndsAtSizeHint) { // To test files, we create a temporary file, write, read, truncate, repeat. TEST_F(IoTest, FileIo) { std::string filename = - absl::StrCat(TestTempDir(), "/zero_copy_stream_test_file"); + absl::StrCat(::testing::TempDir(), "/zero_copy_stream_test_file"); for (int i = 0; i < kBlockSizeCount; i++) { for (int j = 0; j < kBlockSizeCount; j++) { @@ -1501,7 +1500,7 @@ TEST_F(IoTest, BlockingFileIoWithTimeout) { #if HAVE_ZLIB TEST_F(IoTest, GzipFileIo) { std::string filename = - absl::StrCat(TestTempDir(), "/zero_copy_stream_test_file"); + absl::StrCat(::testing::TempDir(), "/zero_copy_stream_test_file"); for (int i = 0; i < kBlockSizeCount; i++) { for (int j = 0; j < kBlockSizeCount; j++) {