aboutsummaryrefslogtreecommitdiffstats
path: root/include/gtest/internal/gtest-port.h
diff options
context:
space:
mode:
authorkosak <kosak@google.com>2015-07-17 21:56:19 +0000
committerkosak <kosak@google.com>2015-07-17 21:56:19 +0000
commit195610d30c2234b76bef70a85426ac8d7dbdf9f3 (patch)
treef981dbe5c35701863d9076862f7d58d5fbc4b9f7 /include/gtest/internal/gtest-port.h
parent0928adbfea9b7645e884bd95fee23cfd669729cd (diff)
downloadgoogletest-195610d30c2234b76bef70a85426ac8d7dbdf9f3.tar.gz
googletest-195610d30c2234b76bef70a85426ac8d7dbdf9f3.tar.bz2
googletest-195610d30c2234b76bef70a85426ac8d7dbdf9f3.zip
Add support for --gtest_flagfile
Diffstat (limited to 'include/gtest/internal/gtest-port.h')
-rw-r--r--include/gtest/internal/gtest-port.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/gtest/internal/gtest-port.h b/include/gtest/internal/gtest-port.h
index b3830c58..4e7e8551 100644
--- a/include/gtest/internal/gtest-port.h
+++ b/include/gtest/internal/gtest-port.h
@@ -1403,6 +1403,14 @@ GTEST_API_ std::string GetCapturedStderr();
#endif // GTEST_HAS_STREAM_REDIRECTION
+// Returns a path to temporary directory.
+GTEST_API_ std::string TempDir();
+
+// Returns the size (in bytes) of a file.
+GTEST_API_ size_t GetFileSize(FILE* file);
+
+// Reads the entire content of a file as a string.
+GTEST_API_ std::string ReadEntireFile(FILE* file);
#if GTEST_HAS_DEATH_TEST