Monero
Loading...
Searching...
No Matches
testing::internal::MatchesRegexMatcher Class Reference

#include <gmock-matchers.h>

Collaboration diagram for testing::internal::MatchesRegexMatcher:

Public Member Functions

 MatchesRegexMatcher (const RE *regex, bool full_match)
template<typename CharType>
bool MatchAndExplain (CharType *s, MatchResultListener *listener) const
template<class 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_ (MatchesRegexMatcher)

Private Attributes

const internal::linked_ptr< const REregex_
const bool full_match_

Constructor & Destructor Documentation

◆ MatchesRegexMatcher()

testing::internal::MatchesRegexMatcher::MatchesRegexMatcher ( const RE * regex,
bool full_match )
inline

Member Function Documentation

◆ DescribeNegationTo()

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

◆ DescribeTo()

void testing::internal::MatchesRegexMatcher::DescribeTo ( ::std::ostream * os) const
inline

◆ GTEST_DISALLOW_ASSIGN_()

testing::internal::MatchesRegexMatcher::GTEST_DISALLOW_ASSIGN_ ( MatchesRegexMatcher )
private

◆ MatchAndExplain() [1/2]

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

◆ MatchAndExplain() [2/2]

template<class MatcheeStringType>
bool testing::internal::MatchesRegexMatcher::MatchAndExplain ( const MatcheeStringType & s,
MatchResultListener *  ) const
inline

Member Data Documentation

◆ full_match_

const bool testing::internal::MatchesRegexMatcher::full_match_
private

◆ regex_

const internal::linked_ptr<const RE> testing::internal::MatchesRegexMatcher::regex_
private

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