Automated Code Change
PiperOrigin-RevId: 610384942
diff --git a/src/google/protobuf/io/zero_copy_stream_unittest.cc b/src/google/protobuf/io/zero_copy_stream_unittest.cc
index 504c2c4..453c825 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 <gtest/gtest.h>
#include "absl/log/absl_check.h"
#include "absl/log/absl_log.h"
@@ -1403,7 +1402,7 @@
// 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 @@
#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++) {