#include <gmock-matchers.h>
Definition at line 1547 of file gmock-matchers.h.
◆ MatchesRegexMatcher()
testing::internal::MatchesRegexMatcher::MatchesRegexMatcher |
( |
const RE * | regex, |
|
|
bool | full_match ) |
|
inline |
◆ DescribeNegationTo()
void testing::internal::MatchesRegexMatcher::DescribeNegationTo |
( |
::std::ostream * | os | ) |
const |
|
inline |
Definition at line 1587 of file gmock-matchers.h.
1587 {
1588 *
os <<
"doesn't " << (full_match_ ?
"match" :
"contain")
1589 << " regular expression ";
1591 }
static void Print(const T &value, ::std::ostream *os)
◆ DescribeTo()
void testing::internal::MatchesRegexMatcher::DescribeTo |
( |
::std::ostream * | os | ) |
const |
|
inline |
Definition at line 1581 of file gmock-matchers.h.
1581 {
1582 *
os << (full_match_ ?
"matches" :
"contains")
1583 << " regular expression ";
1585 }
◆ MatchAndExplain() [1/2]
template<typename CharType >
bool testing::internal::MatchesRegexMatcher::MatchAndExplain |
( |
CharType * | s, |
|
|
MatchResultListener * | listener ) const |
|
inline |
Definition at line 1565 of file gmock-matchers.h.
1565 {
1567 }
bool MatchAndExplain(CharType *s, MatchResultListener *listener) const
◆ MatchAndExplain() [2/2]
template<
class MatcheeStringType >
bool testing::internal::MatchesRegexMatcher::MatchAndExplain |
( |
const MatcheeStringType & | s, |
|
|
MatchResultListener * | ) const |
|
inline |
Definition at line 1574 of file gmock-matchers.h.
1575 {
1576 const std::string& s2(
s);
1578 RE::PartialMatch(s2, *regex_);
1579 }
static bool FullMatch(const ::std::string &str, const RE &re)
The documentation for this class was generated from the following file:
- libraries/fc/include/fc/crypto/webauthn_json/thirdparty/gtest/googlemock/include/gmock/gmock-matchers.h