proxygen
testing::internal::NotNullMatcher Class Reference

#include <gmock-matchers.h>

Public Member Functions

template<typename Pointer >
bool MatchAndExplain (const Pointer &p, MatchResultListener *) const
 
void DescribeTo (::std::ostream *os) const
 
void DescribeNegationTo (::std::ostream *os) const
 
template<typename Pointer >
bool MatchAndExplain (const Pointer &p, MatchResultListener *) const
 
void DescribeTo (::std::ostream *os) const
 
void DescribeNegationTo (::std::ostream *os) const
 
template<typename Pointer >
bool MatchAndExplain (const Pointer &p, MatchResultListener *) const
 
void DescribeTo (::std::ostream *os) const
 
void DescribeNegationTo (::std::ostream *os) const
 

Detailed Description

Definition at line 997 of file gmock-matchers.h.

Member Function Documentation

void testing::internal::NotNullMatcher::DescribeNegationTo ( ::std::ostream *  os) const
inline

Definition at line 1010 of file gmock-matchers.h.

1010  {
1011  *os << "is NULL";
1012  }
void testing::internal::NotNullMatcher::DescribeNegationTo ( ::std::ostream *  os) const
inline

Definition at line 1010 of file gmock-matchers.h.

1010  {
1011  *os << "is NULL";
1012  }
void testing::internal::NotNullMatcher::DescribeNegationTo ( ::std::ostream *  os) const
inline

Definition at line 1010 of file gmock-matchers.h.

1010  {
1011  *os << "is NULL";
1012  }
void testing::internal::NotNullMatcher::DescribeTo ( ::std::ostream *  os) const
inline

Definition at line 1009 of file gmock-matchers.h.

1009 { *os << "isn't NULL"; }
void testing::internal::NotNullMatcher::DescribeTo ( ::std::ostream *  os) const
inline

Definition at line 1009 of file gmock-matchers.h.

1009 { *os << "isn't NULL"; }
void testing::internal::NotNullMatcher::DescribeTo ( ::std::ostream *  os) const
inline

Definition at line 1009 of file gmock-matchers.h.

1009 { *os << "isn't NULL"; }
template<typename Pointer >
bool testing::internal::NotNullMatcher::MatchAndExplain ( const Pointer &  p,
MatchResultListener  
) const
inline

Definition at line 1000 of file gmock-matchers.h.

References testing::internal::GetRawPointer().

1001  {
1002 #if GTEST_LANG_CXX11
1003  return p != nullptr;
1004 #else // GTEST_LANG_CXX11
1005  return GetRawPointer(p) != NULL;
1006 #endif // GTEST_LANG_CXX11
1007  }
const Pointer::element_type * GetRawPointer(const Pointer &p)
template<typename Pointer >
bool testing::internal::NotNullMatcher::MatchAndExplain ( const Pointer &  p,
MatchResultListener  
) const
inline

Definition at line 1000 of file gmock-matchers.h.

References testing::internal::GetRawPointer().

1001  {
1002 #if GTEST_LANG_CXX11
1003  return p != nullptr;
1004 #else // GTEST_LANG_CXX11
1005  return GetRawPointer(p) != NULL;
1006 #endif // GTEST_LANG_CXX11
1007  }
const Pointer::element_type * GetRawPointer(const Pointer &p)
template<typename Pointer >
bool testing::internal::NotNullMatcher::MatchAndExplain ( const Pointer &  p,
MatchResultListener  
) const
inline

Definition at line 1000 of file gmock-matchers.h.

References testing::internal::GetRawPointer().

1001  {
1002 #if GTEST_LANG_CXX11
1003  return p != nullptr;
1004 #else // GTEST_LANG_CXX11
1005  return GetRawPointer(p) != NULL;
1006 #endif // GTEST_LANG_CXX11
1007  }
const Pointer::element_type * GetRawPointer(const Pointer &p)

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