#include <gtest-printers.h>
|
template<typename T , typename = typename std::enable_if< (sizeof(IsContainerTest<T>(0)) == sizeof(IsContainer)) && !IsRecursiveContainer<T>::value>::type> |
static void | PrintValue (const T &container, std::ostream *os) |
|
Definition at line 127 of file gtest-printers.h.
◆ PrintValue()
template<typename T , typename = typename std::enable_if< (sizeof(IsContainerTest<T>(0)) == sizeof(IsContainer)) && !IsRecursiveContainer<T>::value>::type>
static void testing::internal::ContainerPrinter::PrintValue |
( |
const T & |
container, |
|
|
std::ostream * |
os |
|
) |
| |
|
inlinestatic |
Definition at line 132 of file gtest-printers.h.
132 {
133 const size_t kMaxCount = 32;
134 *os << '{';
136 for (auto&& elem : container) {
138 *os << ',';
139 if (
count == kMaxCount) {
140 *os << " ...";
141 break;
142 }
143 }
144 *os << ' ';
145
146
149 }
150
152 *os << ' ';
153 }
154 *os << '}';
155 }
void UniversalPrint(const T &value, ::std::ostream *os)
The documentation for this struct was generated from the following file:
- /media/home/debian/src/github/tesseract-ocr/tesseract/unittest/third_party/googletest/googletest/include/gtest/gtest-printers.h