Automated Code Change

PiperOrigin-RevId: 610384942
pull/15951/head
Protobuf Team Bot 9 months ago committed by Copybara-Service
parent 0e8bb1954d
commit 9c0d130168
  1. 5
      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 @@ 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++) {

Loading…
Cancel
Save