CHROMA
|
#include <gtest.h>
Public Member Functions | |
Message () | |
Message (const Message &msg) | |
Message (const char *str) | |
template<typename T > | |
Message & | operator<< (const T &val) |
template<typename T > | |
Message & | operator<< (T *const &pointer) |
Message & | operator<< (BasicNarrowIoManip val) |
Message & | operator<< (bool b) |
Message & | operator<< (const wchar_t *wide_c_str) |
Message & | operator<< (wchar_t *wide_c_str) |
Message & | operator<< (const ::std::wstring &wstr) |
std::string | GetString () const |
Private Types | |
typedef std::ostream &(* | BasicNarrowIoManip) (std::ostream &) |
Private Member Functions | |
void | operator= (const Message &) |
Private Attributes | |
const internal::scoped_ptr< ::std::stringstream > | ss_ |
|
private |
testing::Message::Message | ( | ) |
Definition at line 2395 of file gtest-all.cc.
References ss_.
|
inline |
Definition at line 3168 of file gtest.h.
References GetString().
|
inlineexplicit |
std::string testing::Message::GetString | ( | ) | const |
Definition at line 2430 of file gtest-all.cc.
References testing::internal::scoped_ptr< T >::get(), ss_, and testing::internal::StringStreamToString().
Referenced by testing::UnitTest::AddTestPartResult(), testing::AssertionResult::AppendMessage(), testing::internal::AppendUserMessage(), testing::internal::FlagToEnvVar(), testing::FormatWordList(), testing::internal::GetBoolAssertionFailureMessage(), Message(), testing::operator<<(), testing::internal::ParseInt32(), testing::Test::RecordProperty(), testing::internal::ParameterizedTestCaseInfo< TestCase >::RegisterTests(), testing::internal::ShouldShard(), and testing::internal::XmlUnitTestResultPrinter::TestPropertiesAsXmlAttributes().
|
inline |
|
inline |
Message& testing::Message::operator<< | ( | const ::std::wstring & | wstr | ) |
Message & testing::Message::operator<< | ( | const wchar_t * | wide_c_str | ) |
Definition at line 2403 of file gtest-all.cc.
References testing::internal::String::ShowWideCString().
Message & testing::Message::operator<< | ( | wchar_t * | wide_c_str | ) |
Definition at line 2406 of file gtest-all.cc.
References testing::internal::String::ShowWideCString().
|
private |
|
private |
Definition at line 3296 of file gtest.h.
Referenced by GetString(), and Message().