proxygen
testing::internal2 Namespace Reference

Classes

class  TypeWithoutFormatter
 
class  TypeWithoutFormatter< T, kConvertibleToInteger >
 
class  TypeWithoutFormatter< T, kProtobuf >
 

Enumerations

enum  TypeKind {
  kProtobuf, kConvertibleToInteger, kOtherType, kProtobuf,
  kConvertibleToInteger, kOtherType, kProtobuf, kConvertibleToInteger,
  kOtherType
}
 
enum  TypeKind {
  kProtobuf, kConvertibleToInteger, kOtherType, kProtobuf,
  kConvertibleToInteger, kOtherType, kProtobuf, kConvertibleToInteger,
  kOtherType
}
 
enum  TypeKind {
  kProtobuf, kConvertibleToInteger, kOtherType, kProtobuf,
  kConvertibleToInteger, kOtherType, kProtobuf, kConvertibleToInteger,
  kOtherType
}
 

Functions

GTEST_API_ void PrintBytesInObjectTo (const unsigned char *obj_bytes, size_t count,::std::ostream *os)
 
template<typename Char , typename CharTraits , typename T >
::std::basic_ostream< Char, CharTraits > & operator<< (::std::basic_ostream< Char, CharTraits > &os, const T &x)
 
void PrintBytesInObjectTo (const unsigned char *obj_bytes, size_t count, ostream *os)
 

Variables

const size_t kProtobufOneLinerMaxLength = 50
 

Enumeration Type Documentation

Enumerator
kProtobuf 
kConvertibleToInteger 
kOtherType 
kProtobuf 
kConvertibleToInteger 
kOtherType 
kProtobuf 
kConvertibleToInteger 
kOtherType 

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

124  {
125  kProtobuf, // a protobuf type
126  kConvertibleToInteger, // a type implicitly convertible to BiggestInt
127  // (e.g. a named or unnamed enum type)
128  kOtherType // anything else
129 };
Enumerator
kProtobuf 
kConvertibleToInteger 
kOtherType 
kProtobuf 
kConvertibleToInteger 
kOtherType 
kProtobuf 
kConvertibleToInteger 
kOtherType 

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

124  {
125  kProtobuf, // a protobuf type
126  kConvertibleToInteger, // a type implicitly convertible to BiggestInt
127  // (e.g. a named or unnamed enum type)
128  kOtherType // anything else
129 };
Enumerator
kProtobuf 
kConvertibleToInteger 
kOtherType 
kProtobuf 
kConvertibleToInteger 
kOtherType 
kProtobuf 
kConvertibleToInteger 
kOtherType 

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

124  {
125  kProtobuf, // a protobuf type
126  kConvertibleToInteger, // a type implicitly convertible to BiggestInt
127  // (e.g. a named or unnamed enum type)
128  kOtherType // anything else
129 };

Function Documentation

template<typename Char , typename CharTraits , typename T >
::std::basic_ostream<Char, CharTraits>& testing::internal2::operator<< ( ::std::basic_ostream< Char, CharTraits > &  os,
const T x 
)
void testing::internal2::PrintBytesInObjectTo ( const unsigned char *  obj_bytes,
size_t  count,
ostream *  os 
)

Definition at line 114 of file gtest-printers.cc.

115  {
116  PrintBytesInObjectToImpl(obj_bytes, count, os);
117 }
int * count
GTEST_API_ void testing::internal2::PrintBytesInObjectTo ( const unsigned char *  obj_bytes,
size_t  count,
::std::ostream *  os 
)

Variable Documentation

const size_t testing::internal2::kProtobufOneLinerMaxLength = 50