46 #ifndef GTEST_INCLUDE_GTEST_GTEST_MESSAGE_H_ 47 #define GTEST_INCLUDE_GTEST_GTEST_MESSAGE_H_ 51 #include "gtest/internal/gtest-port.h" 55 void operator<<(
const testing::internal::Secret &,
int);
91 typedef std::ostream & (*BasicNarrowIoManip)(std::ostream &);
104 explicit Message(
const char * str) : ss_(new ::
std::stringstream)
111 template <
typename T>
119 template <
typename T>
154 template <
typename T>
169 #endif // GTEST_OS_SYMBIAN 186 return *
this << (b ?
"true" :
"false");
194 #if GTEST_HAS_STD_WSTRING 198 #endif // GTEST_HAS_STD_WSTRING 200 #if GTEST_HAS_GLOBAL_WSTRING 204 #endif // GTEST_HAS_GLOBAL_WSTRING 219 template <
typename T>
232 template <
typename T>
241 #endif // GTEST_OS_SYMBIAN 248 void operator=(
const Message &);
264 template <
typename T>
267 return (
Message() << streamable).GetString();
273 #endif // GTEST_INCLUDE_GTEST_GTEST_MESSAGE_H_
std::ostream & operator<<(std::ostream &os, const TestPartResult &result)
Message(const Message &msg)
std::string StreamableToString(const T &streamable)
std::string GetString() const
void operator<<(const testing::internal::Secret &, int)