Monero
Public Member Functions | Private Member Functions | Private Attributes | List of all members
testing::internal::StrEqualityMatcher< StringType > Class Template Reference

#include <gmock-matchers.h>

Public Member Functions

 StrEqualityMatcher (const StringType &str, bool expect_eq, bool case_sensitive)
 
template<typename CharType >
bool MatchAndExplain (CharType *s, MatchResultListener *listener) const
 
template<typename MatcheeStringType >
bool MatchAndExplain (const MatcheeStringType &s, MatchResultListener *) const
 
void DescribeTo (::std::ostream *os) const
 
void DescribeNegationTo (::std::ostream *os) const
 

Private Member Functions

void DescribeToHelper (bool expect_eq, ::std::ostream *os) const
 
 GTEST_DISALLOW_ASSIGN_ (StrEqualityMatcher)
 

Private Attributes

const StringType string_
 
const bool expect_eq_
 
const bool case_sensitive_
 

Constructor & Destructor Documentation

◆ StrEqualityMatcher()

template<typename StringType >
testing::internal::StrEqualityMatcher< StringType >::StrEqualityMatcher ( const StringType &  str,
bool  expect_eq,
bool  case_sensitive 
)
inline

Member Function Documentation

◆ DescribeNegationTo()

template<typename StringType >
void testing::internal::StrEqualityMatcher< StringType >::DescribeNegationTo ( ::std::ostream *  os) const
inline

◆ DescribeTo()

template<typename StringType >
void testing::internal::StrEqualityMatcher< StringType >::DescribeTo ( ::std::ostream *  os) const
inline

◆ DescribeToHelper()

template<typename StringType >
void testing::internal::StrEqualityMatcher< StringType >::DescribeToHelper ( bool  expect_eq,
::std::ostream *  os 
) const
inlineprivate

◆ GTEST_DISALLOW_ASSIGN_()

template<typename StringType >
testing::internal::StrEqualityMatcher< StringType >::GTEST_DISALLOW_ASSIGN_ ( StrEqualityMatcher< StringType >  )
private

◆ MatchAndExplain() [1/2]

template<typename StringType >
template<typename CharType >
bool testing::internal::StrEqualityMatcher< StringType >::MatchAndExplain ( CharType *  s,
MatchResultListener listener 
) const
inline

◆ MatchAndExplain() [2/2]

template<typename StringType >
template<typename MatcheeStringType >
bool testing::internal::StrEqualityMatcher< StringType >::MatchAndExplain ( const MatcheeStringType &  s,
MatchResultListener  
) const
inline

Member Data Documentation

◆ case_sensitive_

template<typename StringType >
const bool testing::internal::StrEqualityMatcher< StringType >::case_sensitive_
private

◆ expect_eq_

template<typename StringType >
const bool testing::internal::StrEqualityMatcher< StringType >::expect_eq_
private

◆ string_

template<typename StringType >
const StringType testing::internal::StrEqualityMatcher< StringType >::string_
private

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