proxygen
testing::internal2::TypeWithoutFormatter< T, kProtobuf > Class Template Reference

#include <gtest-printers.h>

Static Public Member Functions

static void PrintValue (const T &value,::std::ostream *os)
 
static void PrintValue (const T &value,::std::ostream *os)
 
static void PrintValue (const T &value,::std::ostream *os)
 

Detailed Description

template<typename T>
class testing::internal2::TypeWithoutFormatter< T, kProtobuf >

Definition at line 151 of file gtest-printers.h.

Member Function Documentation

template<typename T >
static void testing::internal2::TypeWithoutFormatter< T, kProtobuf >::PrintValue ( const T value,
::std::ostream *  os 
)
inlinestatic

Definition at line 153 of file gtest-printers.h.

References string.

153  {
154  const ::testing::internal::string short_str = value.ShortDebugString();
156  short_str.length() <= kProtobufOneLinerMaxLength ?
157  short_str : ("\n" + value.DebugString());
158  *os << ("<" + pretty_str + ">");
159  }
const size_t kProtobufOneLinerMaxLength
static const char *const value
Definition: Conv.cpp:50
const char * string
Definition: Conv.cpp:212
template<typename T >
static void testing::internal2::TypeWithoutFormatter< T, kProtobuf >::PrintValue ( const T value,
::std::ostream *  os 
)
inlinestatic

Definition at line 153 of file gtest-printers.h.

References string.

153  {
154  const ::testing::internal::string short_str = value.ShortDebugString();
156  short_str.length() <= kProtobufOneLinerMaxLength ?
157  short_str : ("\n" + value.DebugString());
158  *os << ("<" + pretty_str + ">");
159  }
const size_t kProtobufOneLinerMaxLength
static const char *const value
Definition: Conv.cpp:50
const char * string
Definition: Conv.cpp:212
template<typename T >
static void testing::internal2::TypeWithoutFormatter< T, kProtobuf >::PrintValue ( const T value,
::std::ostream *  os 
)
inlinestatic

Definition at line 153 of file gtest-printers.h.

References string.

153  {
154  const ::testing::internal::string short_str = value.ShortDebugString();
156  short_str.length() <= kProtobufOneLinerMaxLength ?
157  short_str : ("\n" + value.DebugString());
158  *os << ("<" + pretty_str + ">");
159  }
const size_t kProtobufOneLinerMaxLength
static const char *const value
Definition: Conv.cpp:50
const char * string
Definition: Conv.cpp:212

The documentation for this class was generated from the following file: