Home
last modified time | relevance | path

Searched refs:original_stdout_ (Results 1 – 1 of 1) sorted by relevance

/third_party/protobuf/src/google/protobuf/testing/
Dgoogletest.cc197 static int original_stdout_ = -1; variable
201 GOOGLE_CHECK_EQ(original_stdout_, -1) << "Already capturing."; in CaptureTestStdout()
209 original_stdout_ = dup(1); in CaptureTestStdout()
231 GOOGLE_CHECK_NE(original_stdout_, -1) << "Not capturing."; in GetCapturedTestStdout()
234 dup2(original_stdout_, 1); in GetCapturedTestStdout()
235 original_stdout_ = -1; in GetCapturedTestStdout()