#include <gtest-message.h>
Definition at line 91 of file gtest-message.h.
◆ Message() [1/3]
testing::Message::Message |
( |
| ) |
|
Definition at line 1156 of file gtest.cc.
1156 : ss_(new ::std::stringstream) {
1157
1158
1159 *ss_ << std::setprecision(std::numeric_limits<double>::digits10 + 2);
1160}
◆ Message() [2/3]
testing::Message::Message |
( |
const Message & |
msg | ) |
|
|
inline |
Definition at line 102 of file gtest-message.h.
102 : ss_(new ::std::stringstream) {
103 *ss_ << msg.GetString();
104 }
◆ Message() [3/3]
testing::Message::Message |
( |
const char * |
str | ) |
|
|
inlineexplicit |
Definition at line 107 of file gtest-message.h.
107 : ss_(new ::std::stringstream) {
108 *ss_ << str;
109 }
◆ GetString()
std::string testing::Message::GetString |
( |
| ) |
const |
Definition at line 1182 of file gtest.cc.
1182 {
1184}
GTEST_API_ std::string StringStreamToString(::std::stringstream *stream)
◆ operator<<() [1/6]
Message & testing::Message::operator<< |
( |
BasicNarrowIoManip |
val | ) |
|
|
inline |
Definition at line 162 of file gtest-message.h.
162 {
163 *ss_ << val;
164 return *this;
165 }
◆ operator<<() [2/6]
Message & testing::Message::operator<< |
( |
bool |
b | ) |
|
|
inline |
Definition at line 168 of file gtest-message.h.
168 {
169 return *this << (b ? "true" : "false");
170 }
◆ operator<<() [3/6]
template<typename T >
Message & testing::Message::operator<< |
( |
const T & |
val | ) |
|
|
inline |
Definition at line 113 of file gtest-message.h.
113 {
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128 using ::operator <<;
129 *ss_ << val;
130 return *this;
131 }
◆ operator<<() [4/6]
Message & testing::Message::operator<< |
( |
const wchar_t * |
wide_c_str | ) |
|
Definition at line 1164 of file gtest.cc.
1164 {
1166}
static std::string ShowWideCString(const wchar_t *wide_c_str)
◆ operator<<() [5/6]
template<typename T >
Message & testing::Message::operator<< |
( |
T *const & |
pointer | ) |
|
|
inline |
Definition at line 147 of file gtest-message.h.
147 {
148 if (pointer == nullptr) {
149 *ss_ << "(null)";
150 } else {
151 *ss_ << pointer;
152 }
153 return *this;
154 }
◆ operator<<() [6/6]
Message & testing::Message::operator<< |
( |
wchar_t * |
wide_c_str | ) |
|
The documentation for this class was generated from the following files:
- /media/home/debian/src/github/tesseract-ocr/tesseract/unittest/third_party/googletest/googletest/include/gtest/gtest-message.h
- /media/home/debian/src/github/tesseract-ocr/tesseract/unittest/third_party/googletest/googletest/src/gtest.cc