proxygen
testing::internal::EqHelper< true > Class Template Reference

#include <gtest.h>

Static Public Member Functions

template<typename T1 , typename T2 >
static AssertionResult Compare (const char *lhs_expression, const char *rhs_expression, const T1 &lhs, const T2 &rhs, typename EnableIf<!is_pointer< T2 >::value >::type *=0)
 
template<typename T >
static AssertionResult Compare (const char *lhs_expression, const char *rhs_expression, Secret *, T *rhs)
 
template<typename T1 , typename T2 >
static AssertionResult Compare (const char *lhs_expression, const char *rhs_expression, const T1 &lhs, const T2 &rhs, typename EnableIf<!is_pointer< T2 >::value >::type *=0)
 
template<typename T >
static AssertionResult Compare (const char *lhs_expression, const char *rhs_expression, Secret *, T *rhs)
 
template<typename T1 , typename T2 >
static AssertionResult Compare (const char *lhs_expression, const char *rhs_expression, const T1 &lhs, const T2 &rhs, typename EnableIf<!is_pointer< T2 >::value >::type *=0)
 
template<typename T >
static AssertionResult Compare (const char *lhs_expression, const char *rhs_expression, Secret *, T *rhs)
 

Detailed Description

template<>
class testing::internal::EqHelper< true >

Definition at line 1441 of file gtest.h.

Member Function Documentation

template<typename T1 , typename T2 >
static AssertionResult testing::internal::EqHelper< true >::Compare ( const char *  lhs_expression,
const char *  rhs_expression,
const T1 lhs,
const T2 rhs,
typename EnableIf<!is_pointer< T2 >::value >::type = 0 
)
inlinestatic

Definition at line 1448 of file gtest.h.

References testing::internal::CmpHelperEQ().

1458  {
1459  return CmpHelperEQ(lhs_expression, rhs_expression, lhs, rhs);
1460  }
AssertionResult CmpHelperEQ(const char *lhs_expression, const char *rhs_expression, const T1 &lhs, const T2 &rhs)
Definition: gtest.h:1387
template<typename T1 , typename T2 >
static AssertionResult testing::internal::EqHelper< true >::Compare ( const char *  lhs_expression,
const char *  rhs_expression,
const T1 lhs,
const T2 rhs,
typename EnableIf<!is_pointer< T2 >::value >::type = 0 
)
inlinestatic

Definition at line 1448 of file gtest.h.

References testing::internal::CmpHelperEQ().

1458  {
1459  return CmpHelperEQ(lhs_expression, rhs_expression, lhs, rhs);
1460  }
AssertionResult CmpHelperEQ(const char *lhs_expression, const char *rhs_expression, const T1 &lhs, const T2 &rhs)
Definition: gtest.h:1387
template<typename T1 , typename T2 >
static AssertionResult testing::internal::EqHelper< true >::Compare ( const char *  lhs_expression,
const char *  rhs_expression,
const T1 lhs,
const T2 rhs,
typename EnableIf<!is_pointer< T2 >::value >::type = 0 
)
inlinestatic

Definition at line 1448 of file gtest.h.

References testing::internal::CmpHelperEQ().

1458  {
1459  return CmpHelperEQ(lhs_expression, rhs_expression, lhs, rhs);
1460  }
AssertionResult CmpHelperEQ(const char *lhs_expression, const char *rhs_expression, const T1 &lhs, const T2 &rhs)
Definition: gtest.h:1387
template<typename T >
static AssertionResult testing::internal::EqHelper< true >::Compare ( const char *  lhs_expression,
const char *  rhs_expression,
Secret *  ,
T rhs 
)
inlinestatic

Definition at line 1465 of file gtest.h.

References testing::AssertionFailure(), testing::internal::CmpHelperEQ(), testing::internal::CmpHelperOpFailure(), and testing::internal::FormatForComparisonFailureMessage().

1475  {
1476  // We already know that 'lhs' is a null pointer.
1477  return CmpHelperEQ(lhs_expression, rhs_expression,
1478  static_cast<T*>(NULL), rhs);
1479  }
AssertionResult CmpHelperEQ(const char *lhs_expression, const char *rhs_expression, const T1 &lhs, const T2 &rhs)
Definition: gtest.h:1387
FOLLY_PUSH_WARNING RHS rhs
Definition: Traits.h:649
template<typename T >
static AssertionResult testing::internal::EqHelper< true >::Compare ( const char *  lhs_expression,
const char *  rhs_expression,
Secret *  ,
T rhs 
)
inlinestatic

Definition at line 1465 of file gtest.h.

References testing::internal::CmpHelperEQ().

1475  {
1476  // We already know that 'lhs' is a null pointer.
1477  return CmpHelperEQ(lhs_expression, rhs_expression,
1478  static_cast<T*>(NULL), rhs);
1479  }
AssertionResult CmpHelperEQ(const char *lhs_expression, const char *rhs_expression, const T1 &lhs, const T2 &rhs)
Definition: gtest.h:1387
FOLLY_PUSH_WARNING RHS rhs
Definition: Traits.h:649
template<typename T >
static AssertionResult testing::internal::EqHelper< true >::Compare ( const char *  lhs_expression,
const char *  rhs_expression,
Secret *  ,
T rhs 
)
inlinestatic

Definition at line 1465 of file gtest.h.

References testing::AssertionFailure(), testing::internal::CmpHelperEQ(), testing::internal::CmpHelperOpFailure(), and testing::internal::FormatForComparisonFailureMessage().

1475  {
1476  // We already know that 'lhs' is a null pointer.
1477  return CmpHelperEQ(lhs_expression, rhs_expression,
1478  static_cast<T*>(NULL), rhs);
1479  }
AssertionResult CmpHelperEQ(const char *lhs_expression, const char *rhs_expression, const T1 &lhs, const T2 &rhs)
Definition: gtest.h:1387
FOLLY_PUSH_WARNING RHS rhs
Definition: Traits.h:649

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