Changes to make TempDir() public

Fixes #1076.
This commit is contained in:
Gennadiy Civil
2017-05-02 14:16:11 -04:00
parent aa148eb2b7
commit 611e8a99de
5 changed files with 29 additions and 22 deletions

View File

@@ -6411,7 +6411,7 @@ class FlagfileTest : public InitGoogleTestTest {
InitGoogleTestTest::SetUp();
testdata_path_.Set(internal::FilePath(
internal::TempDir() + internal::GetCurrentExecutableName().string() +
testing::TempDir() + internal::GetCurrentExecutableName().string() +
"_flagfile_test"));
testing::internal::posix::RmDir(testdata_path_.c_str());
EXPECT_TRUE(testdata_path_.CreateFolder());