Public Member Functions | |
CapturedStream (int fd) | |
std::string | GetCapturedString () |
~CapturedStream () | |
Private Member Functions | |
GTEST_DISALLOW_COPY_AND_ASSIGN_ (CapturedStream) | |
Static Private Member Functions | |
static size_t | GetFileSize (FILE *file) |
static std::string | ReadEntireFile (FILE *file) |
Private Attributes | |
const int | fd_ |
::std::string | filename_ |
int | uncaptured_fd_ |
Definition at line 8723 of file gmock-gtest-all.cc.
testing::internal::CapturedStream::CapturedStream | ( | int | fd | ) | [inline, explicit] |
Definition at line 8726 of file gmock-gtest-all.cc.
testing::internal::CapturedStream::~CapturedStream | ( | ) | [inline] |
Definition at line 8774 of file gmock-gtest-all.cc.
std::string testing::internal::CapturedStream::GetCapturedString | ( | ) | [inline] |
Definition at line 8778 of file gmock-gtest-all.cc.
size_t testing::internal::CapturedStream::GetFileSize | ( | FILE * | file | ) | [static, private] |
Definition at line 8809 of file gmock-gtest-all.cc.
std::string testing::internal::CapturedStream::ReadEntireFile | ( | FILE * | file | ) | [static, private] |
Definition at line 8815 of file gmock-gtest-all.cc.
const int testing::internal::CapturedStream::fd_ [private] |
Definition at line 8800 of file gmock-gtest-all.cc.
::std::string testing::internal::CapturedStream::filename_ [private] |
Definition at line 8803 of file gmock-gtest-all.cc.
int testing::internal::CapturedStream::uncaptured_fd_ [private] |
Definition at line 8801 of file gmock-gtest-all.cc.