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

#include <gmock-matchers.h>

Public Member Functions

 StartsWithMatcher (const StringType &prefix)
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_ (StartsWithMatcher)

Private Attributes

const StringType prefix_

Constructor & Destructor Documentation

◆ StartsWithMatcher()

template<typename StringType>
testing::internal::StartsWithMatcher< StringType >::StartsWithMatcher ( const StringType & prefix)
inlineexplicit

Member Function Documentation

◆ DescribeNegationTo()

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

◆ DescribeTo()

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

◆ GTEST_DISALLOW_ASSIGN_()

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

◆ MatchAndExplain() [1/2]

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

◆ MatchAndExplain() [2/2]

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

Member Data Documentation

◆ prefix_

template<typename StringType>
const StringType testing::internal::StartsWithMatcher< StringType >::prefix_
private

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