#include <gmock-matchers.h>
Definition at line 1326 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 1359 of file gmock-matchers.h.
1359 {
1360 *os << "doesn't " << (full_match_ ? "match" : "contain")
1361 << " regular expression ";
1363 }
static void Print(const T &value, ::std::ostream *os)
◆ DescribeTo()
| void testing::internal::MatchesRegexMatcher::DescribeTo |
( |
::std::ostream * | os | ) |
const |
|
inline |
Definition at line 1353 of file gmock-matchers.h.
1353 {
1354 *os << (full_match_ ? "matches" : "contains")
1355 << " regular expression ";
1357 }
◆ MatchAndExplain() [1/2]
template<typename CharType>
| bool testing::internal::MatchesRegexMatcher::MatchAndExplain |
( |
CharType * | s, |
|
|
MatchResultListener * | listener ) const |
|
inline |
Definition at line 1337 of file gmock-matchers.h.
1337 {
1339 }
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 1346 of file gmock-matchers.h.
1347 {
1350 RE::PartialMatch(s2, *regex_);
1351 }
static bool FullMatch(const ::std::string &str, const RE &re)
The documentation for this class was generated from the following file:
- /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/external/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-matchers.h