Definition at line 563 of file gmock-matchers_test.cc.
◆ DescribeNegationTo()
void testing::gmock_matchers_test::PolymorphicIsEvenImpl::DescribeNegationTo |
( |
ostream * | os | ) |
const |
|
inline |
◆ DescribeTo()
void testing::gmock_matchers_test::PolymorphicIsEvenImpl::DescribeTo |
( |
ostream * | os | ) |
const |
|
inline |
◆ MatchAndExplain()
bool testing::gmock_matchers_test::PolymorphicIsEvenImpl::MatchAndExplain |
( |
const T & | x, |
|
|
MatchResultListener * | listener ) const |
|
inline |
Definition at line 572 of file gmock-matchers_test.cc.
572 {
573
574 *listener << "% " << 2;
575 if (listener->stream() != NULL) {
576
577
578 *listener->stream() << " == " << (x % 2);
579 }
580 return (x % 2) == 0;
581 }
The documentation for this class was generated from the following file: