commit | eea85c9aabf38d39e0474716df3b10502ced9586 | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Thu Aug 30 13:31:45 2018 -0700 |
committer | Christopher Ferris <cferris@google.com> | Tue Sep 04 14:29:23 2018 -0700 |
tree | f8982eaa50950ff776df46f8b6cce211cdaf02bd | |
parent | 640ceee567c7f7e3832f9de189580fd3e138e951 [diff] |
Add Start/Stop/Reset to CapturedStdFd. Move the fd() function to be private since it should not have been exposed in the first place. Fix the way logging_test uses CapturedXXX. Adding this because the new isolated testing doesn't print errors to stderr so the ASSERT_ EXPECT_ messages can get swallowed. Also, it's easier to reuse a CapturedXXX object in a test with these functions. Test: New unit tests pass. Change-Id: I38b113fc184146ce434802f80a9b7997fa83e78a