Removes all uses of StrStream; fixes the VC projects and simplifies them by using gtest-all.cc.

This commit is contained in:
zhanyong.wan
2010-09-08 05:57:37 +00:00
parent 35c3975649
commit 88e0df6247
10 changed files with 34 additions and 332 deletions

View File

@@ -329,9 +329,9 @@ inline ::std::ostream& operator<<(::std::ostream& os, const String& str) {
return os;
}
// Gets the content of the StrStream's buffer as a String. Each '\0'
// Gets the content of the stringstream's buffer as a String. Each '\0'
// character in the buffer is replaced with "\\0".
GTEST_API_ String StrStreamToString(StrStream* stream);
GTEST_API_ String StringStreamToString(::std::stringstream* stream);
// Converts a streamable value to a String. A NULL pointer is
// converted to "(null)". When the input value is a ::string,