Electroneum
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 *expected_expression, const char *actual_expression, const T1 &expected, const T2 &actual, typename EnableIf<!is_pointer< T2 >::value >::type *=0)
 
template<typename T >
static AssertionResult Compare (const char *expected_expression, const char *actual_expression, Secret *, T *actual)
 

Detailed Description

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

Definition at line 1441 of file gtest.h.

Member Function Documentation

◆ Compare() [1/4]

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.

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
Here is the call graph for this function:

◆ Compare() [2/4]

template<typename T1 , typename T2 >
static AssertionResult testing::internal::EqHelper< true >::Compare ( const char *  expected_expression,
const char *  actual_expression,
const T1 &  expected,
const T2 &  actual,
typename EnableIf<!is_pointer< T2 >::value >::type *  = 0 
)
inlinestatic

Definition at line 1451 of file gtest.h.

1461  {
1462  return CmpHelperEQ(expected_expression, actual_expression, expected,
1463  actual);
1464  }
AssertionResult CmpHelperEQ(const char *lhs_expression, const char *rhs_expression, const T1 &lhs, const T2 &rhs)
Definition: gtest.h:1387
Here is the call graph for this function:

◆ Compare() [3/4]

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.

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
Here is the call graph for this function:

◆ Compare() [4/4]

template<typename T >
static AssertionResult testing::internal::EqHelper< true >::Compare ( const char *  expected_expression,
const char *  actual_expression,
Secret *  ,
T actual 
)
inlinestatic

Definition at line 1469 of file gtest.h.

1479  {
1480  // We already know that 'expected' is a null pointer.
1481  return CmpHelperEQ(expected_expression, actual_expression,
1482  static_cast<T*>(NULL), actual);
1483  }
AssertionResult CmpHelperEQ(const char *lhs_expression, const char *rhs_expression, const T1 &lhs, const T2 &rhs)
Definition: gtest.h:1387
Here is the call graph for this function:

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