Xmipp  v3.23.11-Nereus
Classes | Functions
testing::gmock_matchers_test Namespace Reference

Classes

struct  ContainerHelper
 
class  GreaterThanMatcher
 
struct  GtestGreaterThanMatcher
 
class  GTestMatcherTestP
 

Functions

template<typename T >
GtestGreaterThanMatcher< typename std::decay< T >::typeGtestGreaterThan (T &&rhs)
 
template<typename T >
std::string Describe (const Matcher< T > &m)
 
template<typename T >
std::string DescribeNegation (const Matcher< T > &m)
 
template<typename MatcherType , typename Value >
std::string Explain (const MatcherType &m, const Value &x)
 

Function Documentation

◆ Describe()

template<typename T >
std::string testing::gmock_matchers_test::Describe ( const Matcher< T > &  m)

Definition at line 171 of file gmock-matchers_test.h.

171  {
172  return DescribeMatcher<T>(m);
173 }
int m

◆ DescribeNegation()

template<typename T >
std::string testing::gmock_matchers_test::DescribeNegation ( const Matcher< T > &  m)

Definition at line 177 of file gmock-matchers_test.h.

177  {
178  return DescribeMatcher<T>(m, true);
179 }
int m

◆ Explain()

template<typename MatcherType , typename Value >
std::string testing::gmock_matchers_test::Explain ( const MatcherType &  m,
const Value &  x 
)

Definition at line 183 of file gmock-matchers_test.h.

183  {
184  StringMatchResultListener listener;
185  ExplainMatchResult(m, x, &listener);
186  return listener.str();
187 }
doublereal * x
int m

◆ GtestGreaterThan()

template<typename T >
GtestGreaterThanMatcher<typename std::decay<T>::type> testing::gmock_matchers_test::GtestGreaterThan ( T &&  rhs)

Definition at line 126 of file gmock-matchers_test.h.

127  {
128  return {rhs};
129 }