Monero
Loading...
Searching...
No Matches
testing::internal::EndsWithMatcher< StringType > Class Template Reference

#include <gmock-matchers.h>

Public Member Functions

 EndsWithMatcher (const StringType &suffix)
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

 GTEST_DISALLOW_ASSIGN_ (EndsWithMatcher)

Private Attributes

const StringType suffix_

Constructor & Destructor Documentation

◆ EndsWithMatcher()

template<typename StringType>
testing::internal::EndsWithMatcher< StringType >::EndsWithMatcher ( const StringType & suffix)
inlineexplicit

Member Function Documentation

◆ DescribeNegationTo()

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

◆ DescribeTo()

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

◆ GTEST_DISALLOW_ASSIGN_()

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

◆ MatchAndExplain() [1/2]

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

◆ MatchAndExplain() [2/2]

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

Member Data Documentation

◆ suffix_

template<typename StringType>
const StringType testing::internal::EndsWithMatcher< StringType >::suffix_
private

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